Fix camera entity update coordinator subscription in Synology DSM (#72248)

fix camera entity subscription to coordinator
This commit is contained in:
Michael 2022-05-23 04:43:21 +02:00 committed by GitHub
parent 7649adde5f
commit 3ee5445b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,6 +154,7 @@ class SynoDSMCamera(SynologyDSMBaseEntity, Camera):
async def async_added_to_hass(self) -> None:
"""Subscribe to signal."""
self._listen_source_updates()
await super().async_added_to_hass()
def camera_image(
self, width: int | None = None, height: int | None = None