All windows tests ok

This commit is contained in:
Jean-Marc Collin
2024-12-27 12:47:19 +00:00
parent c83c772901
commit 329598b95a
9 changed files with 135 additions and 82 deletions

View File

@@ -241,7 +241,7 @@ async def test_window_binary_sensors(
await entity.async_set_preset_mode(PRESET_COMFORT)
await entity.async_set_hvac_mode(HVACMode.HEAT)
await send_temperature_change_event(entity, 15, now)
assert entity.window_state is STATE_OFF
assert entity.window_state is STATE_UNKNOWN
await window_binary_sensor.async_my_climate_changed()
assert window_binary_sensor.state is STATE_OFF