mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Migrate elgato light tests to use Kelvin (#133004)
This commit is contained in:
parent
85d4c48d6f
commit
bb610acb86
@ -9,7 +9,7 @@ from syrupy.assertion import SnapshotAssertion
|
|||||||
from homeassistant.components.elgato.const import DOMAIN, SERVICE_IDENTIFY
|
from homeassistant.components.elgato.const import DOMAIN, SERVICE_IDENTIFY
|
||||||
from homeassistant.components.light import (
|
from homeassistant.components.light import (
|
||||||
ATTR_BRIGHTNESS,
|
ATTR_BRIGHTNESS,
|
||||||
ATTR_COLOR_TEMP,
|
ATTR_COLOR_TEMP_KELVIN,
|
||||||
ATTR_HS_COLOR,
|
ATTR_HS_COLOR,
|
||||||
DOMAIN as LIGHT_DOMAIN,
|
DOMAIN as LIGHT_DOMAIN,
|
||||||
)
|
)
|
||||||
@ -74,7 +74,7 @@ async def test_light_change_state_temperature(
|
|||||||
{
|
{
|
||||||
ATTR_ENTITY_ID: "light.frenck",
|
ATTR_ENTITY_ID: "light.frenck",
|
||||||
ATTR_BRIGHTNESS: 255,
|
ATTR_BRIGHTNESS: 255,
|
||||||
ATTR_COLOR_TEMP: 100,
|
ATTR_COLOR_TEMP_KELVIN: 10000,
|
||||||
},
|
},
|
||||||
blocking=True,
|
blocking=True,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user