mirror of
https://github.com/home-assistant/core.git
synced 2026-08-20 21:31:17 +01:00
Call async added to hass super in Flo (#100453)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user