Allen Porter
c75222e63c
Bump python-google-nest-sdm to 7.0.0 ( #134016 )
...
Update python-google-nest-sdm to 7.0.0
2024-12-26 00:03:44 -05:00
epenet
93f791e5d0
Add missing hass type hint in component tests (n) ( #124225 )
2024-08-20 12:48:06 +02:00
epenet
195f07a18a
Use service_calls fixture in nest tests ( #120987 )
2024-07-02 08:02:17 -07:00
epenet
dda6ccccd2
Fix dangerous-default-value in nest tests ( #119561 )
...
* Fix dangerous-default-value in nest tests
* Adjust
* Adjust
2024-06-12 23:32:55 -07:00
epenet
98d24dd276
Improve typing for `calls` fixture in tests (m-z) ( #118350 )
...
* Improve typing for `calls` fixture in tests (m-z)
* More
* More
2024-05-29 09:30:41 +02:00
epenet
ead0e797c1
Use registry fixtures in tests (m-n) ( #118291 )
2024-05-28 13:40:45 +02:00
Allen Porter
978fe2d7b0
Bump to google-nest-sdm to 4.0.4 ( #117982 )
2024-05-23 20:27:48 +02:00
Sid
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Erik Montnemery
8d034a85fe
Small cleanup of nest tests ( #102787 )
2023-10-25 15:35:58 +02:00
Erik Montnemery
6e72499f96
Use real devices in nest device trigger tests ( #102692 )
2023-10-25 15:13:38 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Erik Montnemery
eba04824a4
Replace assert_lists_same with pytest_unordered in integrations n-s ( #94902 )
2023-06-20 20:23:14 +02:00
epenet
50cbabb2d8
Add type hints to integration tests (part 15) ( #88006 )
2023-02-15 10:00:49 +01:00
Allen Porter
7a5fa8eb58
Update more nest tests to use common fixtures ( #73303 )
...
Update nest tests to use fixtures
2022-06-10 07:14:43 +02:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Ville Skyttä
f913961d63
Use DeviceAutomationType in tests/components/[m-r]* ( #62443 )
2021-12-20 22:29:22 +01:00
Erik Montnemery
84226da404
Update tests i-o to use async_get() instead of async_get_registry() ( #47653 )
2021-03-09 14:32:08 +01:00
Ville Skyttä
2fb3be50ab
Make DeviceRegistry.async_get_device connections arg optional ( #44897 )
...
* Make async_get_device connections Optional, default None
* Remove unnecessary async_get_device connections arg usages
Some of these were using an incorrect collection type, which didn't
cause issues mostly just due to luck.
2021-01-07 13:49:45 +01:00
Allen Porter
baacf2cd7d
Publish timestamps in nest events ( #44641 )
2020-12-30 10:23:48 +01:00
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
Allen Porter
0670124e8d
Address PR cleanup for nest device triggers ( #43961 )
2020-12-05 10:55:19 +01:00
Allen Porter
945a0a9f7e
Add nest device triggers for camera and doorbell events ( #43548 )
2020-11-30 09:19:42 +01:00