Make sure philips_hs remote entity calls parent added (#84082)
Make sure remote calls parent addedpull/84103/head
parent
80b3572627
commit
09a83b90ea
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue