mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-02 18:28:44 +05:00
fix updater
This commit is contained in:
1 parent
a1ae4e294b
commit
fa2bb2674e
1 file changed
+2
@@ -157,6 +157,8 @@ class MegaPushEntity(BaseMegaEntity):
|
||||
|
||||
def __update(self, value: dict):
|
||||
self._update(value)
|
||||
if self.hass is None:
|
||||
return
|
||||
self.async_write_ha_state()
|
||||
self.lg.debug(f'state after update %s', self.state)
|
||||
if self.mega.mqtt_inputs and not _events_on:
|
||||
|
||||
Reference in new issue
Block a user