From ba6a92756af67a3bd42f8ec79e65b409cdd276ea Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker <joostlek@outlook.com> Date: Sat, 23 Sep 2023 21:05:53 +0200 Subject: [PATCH] Call async added to hass super in Flo (#100453) --- homeassistant/components/flo/switch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/flo/switch.py b/homeassistant/components/flo/switch.py index 4456732d125..5be0ffb745d 100644 --- a/homeassistant/components/flo/switch.py +++ b/homeassistant/components/flo/switch.py @@ -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):