From eb503c0a028b1aaba2bc0d789bafecd8b7a429ff Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Mon, 23 Dec 2024 14:10:23 +0000 Subject: [PATCH] Fix presence test --- tests/test_overclimate_valve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_overclimate_valve.py b/tests/test_overclimate_valve.py index 4478654..18bd5d0 100644 --- a/tests/test_overclimate_valve.py +++ b/tests/test_overclimate_valve.py @@ -114,7 +114,7 @@ async def test_over_climate_valve_mono(hass: HomeAssistant, skip_hass_states_get assert vtherm._security_state is False assert vtherm._window_state is None assert vtherm._motion_state is None - assert vtherm.presence_state is STATE_UNKNOWN + assert vtherm.presence_state is STATE_UNAVAILABLE assert vtherm.is_device_active is False assert vtherm.valve_open_percent == 0