core/tests
Allen Porter 647febd7d8
Mark camera unavailable when keepalive stream fails (#62294)
* Mark camera unavailable when keepalive stream fails

Add a listener in stream that notifies camera when the stream state has changed, and
use that to inform the camera `available` property. Update the property to be set
only from the main loop where it is read to reduce thread safety races.

Issue #54659

* Fix pylint import related errors

* Address lint naming errors

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-19 09:09:59 -08:00
..
auth Add local only users (#57598) 2021-11-29 14:01:03 -08:00
backports Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880) 2021-12-03 09:31:17 +01:00
components Mark camera unavailable when keepalive stream fails (#62294) 2021-12-19 09:09:59 -08:00
fixtures
hassfest
helpers Fix hw_version not updating from an entity device_info (#62254) 2021-12-18 21:53:49 -08:00
mock
resources
scripts
test_util
testing_config Use enums for testing_config (#62140) 2021-12-17 11:10:06 +01:00
util Add additional guarding to color_rgb_to_rgbww (#62220) 2021-12-19 09:44:53 -06:00
__init__.py
bandit.yaml
common.py Allow to lock SQLite database during backup (#60874) 2021-12-07 13:16:24 +01:00
conftest.py Introduce only_supervisor for @websocket_api.ws_require_user() (#61298) 2021-12-08 16:49:35 -08:00
ignore_uncaught_exceptions.py
test_bootstrap.py
test_config.py Make core config source an enum (#61966) 2021-12-19 18:02:52 +01:00
test_config_entries.py Use RegistryEntryDisabler (#60436) 2021-12-15 23:25:40 +02:00
test_core.py Make core config source an enum (#61966) 2021-12-19 18:02:52 +01:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py
test_test_fixtures.py