Set Sonos availability based on activity and discovery (#59994)

This commit is contained in:
jjlawren 2021-11-21 18:48:57 -06:00 committed by GitHub
parent 263101b2ab
commit aa5cf175f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 139 additions and 112 deletions

View file

@ -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,