Set Sonos availability based on activity and discovery (#59994)
This commit is contained in:
parent
263101b2ab
commit
aa5cf175f4
7 changed files with 139 additions and 112 deletions
|
@ -39,8 +39,6 @@ class SonosEntity(Entity):
|
|||
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Handle common setup when added to hass."""
|
||||
await self.speaker.async_seen()
|
||||
|
||||
self.async_on_remove(
|
||||
async_dispatcher_connect(
|
||||
self.hass,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue