mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 11:18:00 +02:00
Make sure super async_added_to_hass is called (#83493)
Make sure super added to hass is called
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user