mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-10 16:44:28 +05:00
fix updater
This commit is contained in:
@@ -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