Migrate mqtt light tests to use Kelvin (#133035)

This commit is contained in:
epenet
2024-12-12 16:42:10 +01:00
committed by GitHub
parent 5c6e4ad191
commit 33c799b2d0
2 changed files with 4 additions and 4 deletions

View File

@@ -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]