mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-16 14:40:43 +08:00
feat: update notify after rm device
This commit is contained in:
parent
ca2edbd917
commit
2446d69c74
@ -869,6 +869,8 @@ class MIoTClient:
|
||||
domain='miot_devices',
|
||||
name=f'{self._uid}_{self._cloud_server}',
|
||||
data=self._device_list_cache)
|
||||
# Update notify
|
||||
self.__request_show_devices_changed_notify()
|
||||
|
||||
def __get_exec_error_with_rc(self, rc: int) -> str:
|
||||
err_msg: str = self._i18n.translate(key=f'error.common.{rc}')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user