* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
* Cache camera image
Cache camera image so a new image isn't generated each call.
Adds debug logging
* Apply suggestions from code review
code compression with walrus operator
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* fix after walrus operator suggested tweak
fully use the live_stream_session variable in async_camera_image
* Invalidate cached image after 15 minutes
requested code change; invalidate cached image
* Removed unnecessary if statement
based on code review
* Image capture flow updates
now sets the image expiration upon getting an updated image
updates the cache image only when a new image is captured
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* fix: Canary stream camera, fix blocker
fixes a "detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue for canary doing blocking calls at homeassistant/components/canary/camera.py, line 149: self._live_stream_session.live_stream_url, extra_cmd=self._ffmpeg_arguments" from log file.
* refactor: black formatting changes
tsia