From d1209934776d343d9e16959126f47373608066c9 Mon Sep 17 00:00:00 2001 From: Sid <27780930+autinerd@users.noreply.github.com> Date: Fri, 15 Mar 2024 22:02:18 +0100 Subject: [PATCH] fix homekit test asserts (#113549) --- tests/components/homekit/test_type_lights.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/homekit/test_type_lights.py b/tests/components/homekit/test_type_lights.py index fce523262b6..edbec9e1a2b 100644 --- a/tests/components/homekit/test_type_lights.py +++ b/tests/components/homekit/test_type_lights.py @@ -1376,13 +1376,13 @@ async def test_light_min_max_mireds(hass: HomeAssistant, hk_driver, events) -> N ATTR_SUPPORTED_COLOR_MODES: [ColorMode.COLOR_TEMP], ATTR_BRIGHTNESS: 255, ATTR_MAX_MIREDS: 500.5, - ATTR_MIN_MIREDS: 100.5, + ATTR_MIN_MIREDS: 153.5, }, ) await hass.async_block_till_done() acc = Light(hass, hk_driver, "Light", entity_id, 1, None) - acc.char_color_temp.properties["maxValue"] == 500 - acc.char_color_temp.properties["minValue"] == 100 + assert acc.char_color_temp.properties["maxValue"] == 500 + assert acc.char_color_temp.properties["minValue"] == 153 async def test_light_set_brightness_and_color_temp(