From 09a83b90eab16afaa3b86817d5a49ffc37714f03 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Fri, 16 Dec 2022 15:25:05 +0100 Subject: [PATCH] Make sure philips_hs remote entity calls parent added (#84082) Make sure remote calls parent added --- homeassistant/components/philips_js/remote.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/philips_js/remote.py b/homeassistant/components/philips_js/remote.py index 3496ec5f576..2c2f8752e0d 100644 --- a/homeassistant/components/philips_js/remote.py +++ b/homeassistant/components/philips_js/remote.py @@ -58,6 +58,8 @@ class PhilipsTVRemote(CoordinatorEntity[PhilipsTVDataUpdateCoordinator], RemoteE async def async_added_to_hass(self) -> None: """Handle being added to hass.""" + await super().async_added_to_hass() + if (entry := self.registry_entry) and entry.device_id: self.async_on_remove( self._turn_on.async_register(