Robert Svensson
1095d93892
Increase test coverage of deCONZ device triggers ( #48126 )
...
* Increase test coverage of deCONZ device triggers
* Revert removed new line
* Found a way to explicitly assert that exceptions are raised
* Remove unnecessary block till done
* Fix unnecessary elif
* Fix review comments
* Remove helper tests
2021-03-23 13:49:44 +01:00
Robert Svensson
7ff9610e67
Use websocket fixture in deCONZ event related tests ( #47823 )
...
Localize test data
Improve asserts
2021-03-18 10:44:31 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +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
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +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
cb6d3b590e
Revert device trigger modelid for Trådfri remotes for deCONZ ( #41843 )
2020-10-14 23:39:00 +02:00
Ville Skyttä
66aa55dddf
Fix deCONZ IKEA TRÅDFRI device name spelling ( #41574 )
2020-10-10 13:04:00 +02: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
84a1afc785
deCONZ - Fix device automations ( #30577 )
2020-01-08 10:06:33 +01:00
Robert Svensson
ec61342ec3
deCONZ - Improve tests based on Martins feedback in Axis integration ( #30438 )
2020-01-03 18:11:04 +01:00
Bas Nijholt
41cd678f00
Sort imports according to PEP8 for deconz ( #29659 )
2019-12-09 12:25:35 +01:00
Erik Montnemery
3e99743244
Add device trigger support to sensor entities ( #27133 )
...
* Add device trigger support to sensor entities
* Fix typing
* Fix tests, add test helper for comparing lists
2019-10-03 06:14:35 +02:00
Robert Svensson
d8c6b281b8
deCONZ - Support Symfonisk sound controller with device triggers ( #26913 )
...
* Device trigger tests shall use the common gateway mock
* Follow ebaauws clarification of signals
* Fix translations
2019-10-02 22:12:59 +02:00
Paulus Schoutsen
6fdff9ffab
Reorg device automation ( #26880 )
...
* async_trigger -> async_attach_trigger
* Reorg device automations
* Update docstrings
* Fix types
* Fix extending schemas
2019-09-24 14:57:05 -07:00