hass-core/tests/components/nest
Allen Porter 51b88337ca
Simplify nest event handling (#44367)
* Simplify nest event handling

Use device specific update callbacks rather than a global callback.
The motivation is to prepare for a follow up change that will store
camera specific event tokens on the camera itself, so that a service
can later fetch event specific image snapshots, which would be difficult
to send across the event bus.

* Increase nest camera test coverage

* Remove unnecessary device updates for nest cameras

* Remove unused imports

* Fix device id check to look at returned entry

* Remove unused imports after rebase

* Partial revert of nest event simplification

* Push more update logic into the nest library

* Revert nest device_info changes

* Revert test changes to restore global update behavior

* Bump nest library version to support new callback interfaces
2020-12-27 09:49:22 +01:00
..
__init__.py Nest config flow (#14921) 2018-06-13 11:14:52 -04:00
camera_sdm_test.py Increase test coverage for nest camera (#44144) 2020-12-12 10:17:43 +01:00
climate_sdm_test.py Increase nest climate test coverage (#44146) 2020-12-12 20:57:02 +01:00
common.py Simplify nest event handling (#44367) 2020-12-27 09:49:22 +01:00
conftest.py Improve nest SDM integration error handling (#43271) 2020-11-19 12:26:49 +01:00
device_info_test.py Add Nest cam support for the SDM API (#42325) 2020-10-27 15:20:01 +01:00
sensor_sdm_test.py Update nest library and switch events to async (#43583) 2020-11-24 08:53:50 -07:00
test_config_flow_legacy.py Add unknown_authorize_url_generation to base strings for config flows (#42484) 2020-11-24 12:00:16 -05:00
test_config_flow_sdm.py Handle expiration of nest auth credentials (#44202) 2020-12-20 01:41:29 +01:00
test_device_trigger.py Simplify nest event handling (#44367) 2020-12-27 09:49:22 +01:00
test_events.py Add nest device triggers for camera and doorbell events (#43548) 2020-11-30 09:19:42 +01:00
test_local_auth.py Move Legacy Works With Nest integration to subdirectory (#44368) 2020-12-22 12:42:37 -08:00