Set nest camera always on STATE_STREAMING (#57882)

This commit is contained in:
Allen Porter 2021-10-17 10:45:31 -07:00 committed by GitHub
parent fe0291012c
commit 95b07c138c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View file

@ -76,6 +76,7 @@ class NestCamera(Camera):
self._event_id: str | None = None
self._event_image_bytes: bytes | None = None
self._event_image_cleanup_unsub: Callable[[], None] | None = None
self.is_streaming = CameraLiveStreamTrait.NAME in self._device.traits
@property
def should_poll(self) -> bool: