Fix Testus

This commit is contained in:
Jean-Marc Collin
2024-11-17 10:51:02 +00:00
parent cb71821196
commit 3f5c4f5cbe
2 changed files with 3 additions and 0 deletions

View File

@@ -517,6 +517,7 @@ async def test_user_config_flow_over_climate(
CONF_USE_ADVANCED_CENTRAL_CONFIG: False,
CONF_USED_BY_CENTRAL_BOILER: False,
CONF_USE_CENTRAL_MODE: False,
CONF_SONOFF_TRZB_MODE: False,
}
assert result["result"]
assert result["result"].domain == DOMAIN
@@ -1126,6 +1127,7 @@ async def test_user_config_flow_over_climate_auto_start_stop(
CONF_USED_BY_CENTRAL_BOILER: False,
CONF_USE_AUTO_START_STOP_FEATURE: True,
CONF_AUTO_START_STOP_LEVEL: AUTO_START_STOP_LEVEL_MEDIUM,
CONF_SONOFF_TRZB_MODE: False,
}
assert result["result"]
assert result["result"].domain == DOMAIN