Make sure super async_added_to_hass is called (#83493)
Make sure super added to hass is calledpull/83551/head
parent
c2fa1bdd49
commit
2ca7d0dd97
|
@ -101,6 +101,8 @@ class PhilipsTVMediaPlayer(
|
|||
|
||||
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