Skip to content

Commit

Permalink
Make sure philips_hs remote entity calls parent added (#84082)
Browse files Browse the repository at this point in the history
Make sure remote calls parent added
  • Loading branch information
elupus authored and balloob committed Dec 18, 2022
1 parent 5e949b0 commit dac8560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/philips_js/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def __init__(

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(
Expand Down

0 comments on commit dac8560

Please sign in to comment.