mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
Emulate color_temp for lights which support color or white (#51654)
* Emulate color_temp for lights which support color or white * Support legacy lights * Tidy up group.light code * Improve color_temp to white conversion * Remove color_temp to white conversion * Add test * Tweak deconz test
This commit is contained in:
@@ -170,7 +170,6 @@ async def test_lights_and_groups(hass, aioclient_mock, mock_deconz_websocket):
|
||||
SERVICE_TURN_ON,
|
||||
{
|
||||
ATTR_ENTITY_ID: "light.rgb_light",
|
||||
ATTR_COLOR_TEMP: 2500,
|
||||
ATTR_BRIGHTNESS: 200,
|
||||
ATTR_TRANSITION: 5,
|
||||
ATTR_FLASH: FLASH_SHORT,
|
||||
|
||||
Reference in New Issue
Block a user