G Johansson
666e8e133e
Cover state is enum ( #127144 )
...
* Change light state to use enum
* Adjust cover tests
* Update cover
* Fix covers
* Some tests
* More tests
* Fix tests
* Fix
2024-10-08 18:39:04 +02:00
G Johansson
c6a1b9fc39
Change Climate set temp action for incorrect feature will raise ( #126692 )
...
* Change Climate set temp action for incorrect feature will raise
* Fix some tests
* Fix review comments
* Fix tesla_fleet
* Fix tests
* Fix review comment
2024-09-25 21:16:14 +02:00
G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
Erik Montnemery
d82bff1bc2
Index config entry discovery_keys by discovery domain ( #126563 )
...
* Index config entry discovery_keys by discovery domain
* Add new signal
* Update tests
* Update homeassistant/config_entries.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix imports
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 21:48:11 +02:00
Erik Montnemery
b2982c18bb
Reinitialize zeroconf discovery flow on unignore ( #125753 )
...
* Reinitialize zeroconf discovery flow on unignore
* Adjust tests
* Improve comments
* Fix logic for updating discovery keys
* Add tests
* Use mock_config_flow helper in new config_entries test
* Add discovery_keys attribute to ConfigEntry
* Update zeroconf rediscovery
* Change type of ConfigEntry.discovery_keys
* Update tests
* Fix DiscoveryKey.from_json_dict and add tests
* Fix test
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 16:49:21 +02:00
epenet
02cb6a6af7
Force root import of references from other components ( #125816 )
...
* Force root import of references from other components
* Improve
* Adjust
* Tweak exceptions
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Adjust
* More
* Ignore violations in test
* Improve
2024-09-16 11:28:42 +02:00
Robert Svensson
73f04e3ede
Add filter run time for deCONZ air purifiers ( #123306 )
...
* Add filter run time for deCONZ air purifiers
* Add duration and second
* Fix review comments
* Update tests/components/deconz/snapshots/test_sensor.ambr
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-06 15:41:49 +02:00
epenet
bdd3aa8e39
Use start_reauth helper method in config flow tests (a-d) ( #124780 )
...
* Use start_reauth helper method in integration tests (a-d)
* Revert broadlink
* Revert bthome
2024-08-28 15:48:36 +02:00
Robert Svensson
9e13184256
Add deCONZ Air Purifier Fan Mode select entity support ( #124513 )
...
* Add deCONZ Air Purifier Fan Mode select entity support
* Remove unused constants
2024-08-24 09:51:09 +02:00
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