Patrik Lindgren and Martin Hjelmare
03defdc922
Add test cases for Tradfri cover platform ( #64072 )
...
* Add test cases for Tradfri cover
* Simplify test
* Fix typo
* Fix typos
* Update tests/components/tradfri/test_cover.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Fix
* Remove unused function
* Move common tools to separate file
* Simplify parametrization
* Use int
* Remove loop
* Use context manager
* Simplify
* Update docstring
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2022-01-14 19:40:14 +01:00
Patrik Lindgren and Martin Hjelmare
c950f1ccfa
Initial support for Tradfri STARKVIND Air purifier ( #58295 )
...
* Initial commit
* Update homeassistant/components/tradfri/const.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Feedback
* Updates
* Remove logger
* Fix codestring
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Percent value
* Add tests
* Typo
* Update tests
* Fix util function
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update after review
* Review
* Coverage
* Fix test
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-10-25 08:15:46 +02:00
jan iversen
45983b5edf
Activate tradfri in coverage and clean conftest for tradfri ( #58058 )
2021-10-20 13:36:02 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Martin Hjelmare
36632f64f1
Mock tradfri lights correctly ( #39706 )
2020-09-06 11:54:08 +02:00
Martin Hjelmare and Franck Nijhof
b6630a48b2
Add tradfri api call error handling ( #39681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2020-09-05 23:02:32 +02:00
Martin Hjelmare
bde0bdbf80
Clean tradfri hass data and add tests ( #39620 )
2020-09-03 18:39:24 +02:00
Paulus Schoutsen and J. Nick Koston
276f3afb00
Do async_setup_platform in background ( #36244 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2020-05-31 22:18:30 -07:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Ziv
f2dad7905d
fixed uncaught exceptions for tradfri ( #33550 )
...
was caused by device_info being mocks, so write to storage failed
2020-04-03 00:55:04 +02:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Bas Nijholt
de915e1bf0
Sort imports according to PEP8 for components starting with "T" ( #29778 )
2019-12-09 14:41:48 +01:00
Paulus Schoutsen
1e5de9e9e4
Bump TRADFRI ( #26731 )
...
* Bump TRADFRI
* Fix test
2019-09-19 20:49:47 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
e9ea5c2ccb
Move tests to right folder ( #23790 )
...
* Move tests to right folder
* Fix test leaving files behind
2019-05-10 13:20:50 -07:00