mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Migrate mqtt light tests to use Kelvin (#133035)
This commit is contained in:
@@ -212,7 +212,7 @@ async def test_single_color_mode(
|
||||
assert state.state == STATE_ON
|
||||
|
||||
assert state.attributes.get(light.ATTR_SUPPORTED_COLOR_MODES) == color_modes
|
||||
assert state.attributes.get(light.ATTR_COLOR_TEMP) == 192
|
||||
assert state.attributes.get(light.ATTR_COLOR_TEMP_KELVIN) == 5208
|
||||
assert state.attributes.get(light.ATTR_BRIGHTNESS) == 50
|
||||
assert state.attributes.get(light.ATTR_COLOR_MODE) == color_modes[0]
|
||||
|
||||
|
Reference in New Issue
Block a user