mirror of
https://github.com/home-assistant/core.git
synced 2026-07-13 01:27:57 +01:00
ed5f94fd8a
* 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