Joost Lekkerkerker
e8d7eb05ae
Delete unused snapshots ( #123656 )
...
* Delete unused snapshots
* Delete unused snapshots
2024-08-12 13:28:09 +02:00
Robert Resch
ad50136dbd
Add created_at/modified_at to config entries ( #122456 )
2024-07-29 22:08:46 +02:00
J. Nick Koston
1879db9f8f
Revert to using call_soon for event triggers and state changed event trackers ( #122735 )
2024-07-29 11:45:39 +02:00
Robert Svensson
06ee8fdd47
Do not use get_hub in deCONZ tests ( #122706 )
2024-07-29 11:43:04 +02:00
Robert Svensson
58419f14e8
Less use of hass.data[DECONZ_DOMAIN] in deCONZ tests ( #122657 )
...
* Less use of hass.data[DECONZ_DOMAIN] in deCONZ tests
* Fix review comment
* Change patch path
2024-07-26 20:58:00 +02:00
Robert Svensson
047100069b
Clean up some fixtures not referenced within deCONZ tests ( #122637 )
2024-07-26 11:21:48 +02:00
Robert Svensson
b41b7aeb5b
Remove validation of state==UNAVAILABLE on config entry unload in deCONZ test ( #122558 )
...
Only test remove entry marks entities unavailable in one place
2024-07-26 10:06:58 +02:00
Robert Svensson
9b4cf873c1
Replace ConfigEntry with MockConfigEntry in deCONZ tests ( #122631 )
2024-07-26 09:36:41 +02:00
Robert Svensson
9198234465
Use snapshot in deCONZ light tests ( #122548 )
2024-07-24 20:08:42 +02:00
Robert Svensson
be8e432bea
Use snapshot in deCONZ alarm control panel tests ( #122551 )
...
* Use snapshot in deCONZ alarm control panel tests
* Clean up comments
2024-07-24 20:08:06 +02:00
Robert Svensson
3c4f2c2dcf
Use snapshot in deCONZ select tests ( #122541 )
2024-07-24 18:07:40 +02:00
Robert Svensson
277883e756
Use snapshot in deCONZ sensor tests ( #122543 )
2024-07-24 18:07:18 +02:00
Robert Svensson
5bda072141
Use snapshot in deCONZ scene tests ( #122540 )
2024-07-24 17:32:57 +02:00
Robert Svensson
a8e60a6c53
Use snapshot in deCONZ number tests ( #122538 )
2024-07-24 17:28:47 +02:00
Robert Svensson
50da3c5c5b
Use snapshot in deCONZ climate tests ( #122535 )
2024-07-24 17:15:01 +02:00
Robert Svensson
c5f9ff6ac5
Use snapshot in deCONZ cover tests ( #122537 )
2024-07-24 17:14:40 +02:00
Robert Svensson
a90d41d9e7
Use snapshot in deCONZ binary sensor tests ( #122507 )
...
* Use snapshot in deCONZ binary sensor tests
* Fix typing in button test
2024-07-24 09:01:34 +02:00
Robert Svensson
4c7828fd50
Improve deCONZ fan tests ( #122493 )
...
* Improve fan tests
* Use snapshots
2024-07-24 09:01:09 +02:00
Robert Svensson
902bf4ae86
Use snapshot in deCONZ button tests ( #122505 )
...
Use snapshot in button tests
2024-07-24 08:44:10 +02:00
Robert Svensson
e6ef8a34a7
Tweak deCONZ init and hub tests ( #122484 )
...
* Improve typing of init tests
* Clean up gateway test
* Validate deconz device registry entry
* Rename gateway to hub
* Snake case BRIDGEID to BRIDGE_ID
2024-07-23 22:29:48 +03:00
Robert Svensson
4ee256633b
Deduplicate light data with deCONZ websocket fixture ( #122421 )
2024-07-23 08:40:30 +02:00
Robert Svensson
c61efe931a
Deduplicate more fixture data related to deCONZ websocket sensor ( #122412 )
2024-07-22 21:37:58 +02:00
Robert Svensson
48661054d9
Improve fixture usage for sensor based deCONZ tests ( #122297 )
2024-07-21 13:56:16 +02:00
Robert Svensson
ecffae0b4f
Improve fixture usage for light based deCONZ tests ( #122209 )
2024-07-20 11:25:00 +02:00
Marc Mueller
0be68dcd7f
Fix deconz conftest typing ( #122173 )
2024-07-19 13:10:38 +02:00
Robert Svensson
cce77affc7
Provide default values for common keys in deCONZ websocket fixture ( #121359 )
2024-07-06 10:52:50 +02:00
Robert Svensson
1b8944dab6
Improve deCONZ websocket fixture ( #121332 )
2024-07-05 22:35:06 +02:00
Robert Svensson
94db251aea
Finally remove all legacy test stubs from deCONZ tests ( #121323 )
2024-07-05 20:47:43 +02:00
Robert Svensson
178655647d
Use fixtures in deCONZ init tests ( #121217 )
2024-07-05 19:17:47 +02:00
Robert Svensson
a773d0c8f6
Use fixtures on deCONZ event tests ( #121303 )
2024-07-05 19:11:21 +02:00
Robert Svensson
8c459959ee
Use fixtures in deCONZ gateway tests ( #121305 )
2024-07-05 16:59:10 +02:00
Robert Svensson
eb5a98e7ea
Use fixtures in deCONZ light tests PT2 ( #121208 )
2024-07-05 10:57:17 +02:00
Robert Svensson
dcef25c0fa
Use fixtures in deCONZ climate tests ( #121242 )
2024-07-05 09:01:45 +02:00
Robert Svensson
62d9020261
Remove legacy method from deCONZ fan and sensor tests ( #121244 )
2024-07-04 18:17:15 -05:00
Robert Svensson
d12f2384c5
Use fixtures in deCONZ config flow tests PT2 ( #121203 )
...
* Use fixtures in deCONZ config flow tests PT2
* Update tests/components/deconz/test_config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-07-04 15:53:25 +02:00
Robert Svensson
24c82c2475
Use fixtures in deCONZ sensor tests PT2 ( #121204 )
2024-07-04 15:48:49 +02:00
Robert Svensson
f78933235d
Use fixtures in deCONZ service tests ( #121108 )
...
* Use fixtures in deCONZ service tests
* Update tests/components/deconz/test_services.py
Co-authored-by: J. Nick Koston <nick@koston.org>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 14:23:40 +02:00
Robert Svensson
ece8b74967
Use fixtures in deCONZ device trigger tests ( #121103 )
2024-07-04 14:23:15 +02:00
Robert Svensson
1d8382a498
Use fixtures in deCONZ light tests PT1 ( #121112 )
...
Use fixtures in deCONZ light tests part 1
2024-07-04 14:22:10 +02:00
Robert Svensson
873d96bab3
Use fixtures in deCONZ binary sensor tests ( #120966 )
2024-07-04 14:21:26 +02:00
Robert Svensson
31ed32da6c
Use fixtures in deCONZ alarm control panel tests ( #120967 )
2024-07-04 14:20:57 +02:00
Robert Svensson
d429bcef16
Use fixtures in deCONZ sensor tests PT1 ( #121116 )
2024-07-04 11:50:23 +02:00
Robert Svensson
02e7707f91
Use fixtures in deCONZ config flow tests PT1 ( #121121 )
2024-07-04 04:49:46 -05:00
Robert Svensson
baf2ebf1f2
Use fixtures in deCONZ diagnostics tests ( #120968 )
2024-07-02 12:43:34 +02:00
Robert Svensson
0ffebd4853
Use fixtures in deCONZ button tests ( #120958 )
2024-07-01 20:48:33 +02:00
Robert Svensson
690164a518
Use fixtures in deCONZ cover tests ( #120954 )
2024-07-01 20:31:42 +02:00
Robert Svensson
167a8c6613
Use fixtures in deCONZ fan tests ( #120953 )
2024-07-01 19:49:12 +02:00
Robert Svensson
1209abc944
Use fixtures in deCONZ switch tests ( #120944 )
2024-07-01 19:03:32 +02:00
Robert Svensson
7a3039aecb
Use fixtures in deCONZ lock tests ( #120948 )
2024-07-01 19:01:32 +02:00
Robert Svensson
d506c30b38
Use fixtures in deCONZ logbook tests ( #120947 )
2024-07-01 18:58:43 +02:00