Robert Svensson
c80f34a754
Add support for ZHADoorLock locks to deCONZ integration( #48516 )
2021-03-31 09:36:06 +02:00
Robert Svensson
a21d0cadf8
Use websocket fixture in deCONZ lock tests ( #47827 )
...
Localize test data
Improve asserts
2021-03-18 11:06:44 +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
cbb4324c84
Refactor deCONZ tests ( #41362 )
...
* Use hass.config_entries.async_unload
* Return config_entry from setup_deconz_integration
2020-10-06 23:25:57 +02:00
Robert Svensson
552856203b
Clean deCONZ tests to depend less on integration code ( #41015 )
2020-10-02 11:20:33 +02:00
Robert Svensson
9116061262
Add lock support to deCONZ ( #40807 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-01 09:50:06 +02:00