Take Abode camera snapshot before fetching latest image (#67150)
Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: Franck Nijhof <git@frenck.dev>pull/67218/head
parent
406fbca4bc
commit
ad6c3d37be
|
@ -88,6 +88,8 @@ class AbodeCamera(AbodeDevice, Camera):
|
|||
self, width: int | None = None, height: int | None = None
|
||||
) -> bytes | None:
|
||||
"""Get a camera image."""
|
||||
if not self.capture():
|
||||
return None
|
||||
self.refresh_image()
|
||||
|
||||
if self._response:
|
||||
|
|
Loading…
Reference in New Issue