1
0
mirror of https://github.com/home-assistant/core.git synced 2026-03-03 00:00:58 +00:00
Files
core/tests
Anders Melchiorsen ed5f94fd8a Add kelvin/brightness_pct alternatives to light.turn_on (#7596)
* Refactor color profiles to a class

* Refactor into preprocess_turn_on_alternatives

* LIFX: use light.preprocess_turn_on_alternatives

This avoids the color_name duplication and gains support for profile.

* Add kelvin parameter to light.turn_on

* Add brightness_pct parameter to light.turn_on

* LIFX: accept brightness_pct in effects

* Add test of kelvin/brightness_pct conversions
2017-05-16 23:00:46 -07:00
..
2016-01-30 14:08:32 -05:00
2017-05-02 09:18:47 -07:00
2017-05-01 20:09:49 -07:00
2016-10-23 23:48:01 -07:00