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
4c7828fd50
Improve deCONZ fan tests ( #122493 )
...
* Improve fan tests
* Use snapshots
2024-07-24 09:01:09 +02:00
Robert Svensson
4ee256633b
Deduplicate light data with deCONZ websocket fixture ( #122421 )
2024-07-23 08:40:30 +02:00
Robert Svensson
ecffae0b4f
Improve fixture usage for light based deCONZ tests ( #122209 )
2024-07-20 11:25:00 +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
62d9020261
Remove legacy method from deCONZ fan and sensor tests ( #121244 )
2024-07-04 18:17:15 -05:00
Robert Svensson
167a8c6613
Use fixtures in deCONZ fan tests ( #120953 )
2024-07-01 19:49:12 +02:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
J. Nick Koston
723dcbafca
Complete fan speed transition from #59781 ( #67743 )
2022-03-09 10:38:12 +01:00
Robert Svensson
70d9e8a582
Add proper percentage support to deCONZ fan integration ( #48187 )
...
* Add proper percentage support to deCONZ fan integration
* Properly convert speed to percentage
* Remove disabled method
* Replace convert_speed with a dict
2021-03-23 22:29:55 +01:00
Robert Svensson
7350215b4e
Use websocket fixture in deCONZ fan tests ( #47824 )
...
Localize test data
Improve asserts
2021-03-18 10:49:48 +01:00
Robert Svensson
20f45f8ab9
Improve deCONZ tests by using aioclient_mock rather than patching web requests ( #45927 )
...
* Don't patch web requests, use aioclient_mock instead
* Remove stale prints
* Remove tests for old way of loading platforms
* Remove unused imports
2021-02-09 08:31:29 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Robert Svensson
7eb532ddd0
Improve imports in deCONZ tests ( #41976 )
...
* Improve imports in deconz tests
* Add spacing
2020-10-17 11:20:06 -05:00
Robert Svensson
267d97e80e
Improve deCONZ fan platform handling unsupported commands ( #41779 )
...
* Improve handling unsupported commands
* Raise valueerror on unsupported speed
* Fix linting
2020-10-13 19:34:33 +02:00
Robert Svensson
72289b8171
Add fan support to deCONZ ( #40806 )
...
* Add fan support to deconz
* Fix gateway test
* Fix lint issue
* Apply suggestions from code review
* Fix black
* Improve tests
* Store previously used speed in case turn_on service is called without a speed attribute
* Fix tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-13 12:57:42 +02:00