Erik Montnemery
5f2326fb57
Add support for light color modes ( #47720 )
...
* Add support for light color modes
* Update tests
* Update comments
* Fix bugs, add tests
* Suppress lint errors
* Don't suppress brightness when state is ambiguous
* Improve reproduce_state + add tests
* Add comment
* Change COLOR_MODE_* constants, rename COLOR_MODE_DIMMER to COLOR_MODE_BRIGHTNESS
* Fix tests
* Tweaks
2021-03-16 12:51:39 +01:00
Erik Montnemery
b3fecb1c95
Update tests t-z to use async_get() instead of async_get_registry() ( #47655 )
2021-03-09 14:25:03 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
zewelor
16ddbb95f4
Add yeelight service to enable disable music mode ( #44533 )
...
* Add service to enable / disable music mode
* Black reformat
* Update test
* Fix tests
* Revert consts cleanup
* Use entity method as service call
* Use ATTR for service call
* Sort
* Add tests
* Fix isort
* Fix print
* Black
2020-12-30 17:00:28 +01:00
Daniel Rheinbay
498654a1e0
Add vendor effects to Yeelight integration ( #42711 )
...
Add effects shipped by Yeelight in their apps, as these effects are quite popular and have been missing from Home Assistant.
2020-11-22 21:41:09 +01:00
Xiaonan Shen
f23fcfcd9b
Fix yeelight connection issue ( #40251 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 14:47:11 +01:00
Xiaonan Shen
7b3182fa8f
Improve Yeelight code ( #39543 )
...
* Rename ipaddr to ip_addr
* Move custom services to entity services
* Remove platform data
* Change service setup to callback
* Rename ip_addr to host
* Use _host inside class
2020-09-02 18:42:12 +02:00
Xiaonan Shen
45a927ffb2
Add config flow to yeelight ( #37191 )
2020-08-31 16:40:56 +02:00
Xiaonan Shen
e8b6ed5a27
Add platform tests to yeelight ( #37745 )
...
* Add platform tests to yeelight
* Update requirements
* Break long string
2020-08-02 16:37:31 +02:00