mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Make sure philips_hs remote entity calls parent added (#84082)
Make sure remote calls parent added
This commit is contained in:
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…
x
Reference in New Issue
Block a user