Call async added to hass super in Flo (#100453)
parent
781bc5b3bc
commit
ba6a92756a
|
@ -103,6 +103,7 @@ class FloSwitch(FloEntity, SwitchEntity):
|
|||
# pylint: disable-next=hass-missing-super-call
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""When entity is added to hass."""
|
||||
await super().async_added_to_hass()
|
||||
self.async_on_remove(self._device.async_add_listener(self.async_update_state))
|
||||
|
||||
async def async_set_mode_home(self):
|
||||
|
|
Loading…
Reference in New Issue