Fix RainMachine bugs (#106231)

This commit is contained in:
kingy444
2023-12-27 22:38:37 +11:00
committed by GitHub
parent c19688e2d2
commit 25f9c5f34b
7 changed files with 45 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
from regenmaschine.errors import RainMachineError
from homeassistant.components.diagnostics import REDACTED
from homeassistant.components.rainmachine.const import DEFAULT_ZONE_RUN
from homeassistant.core import HomeAssistant
from tests.components.diagnostics import get_diagnostics_for_config_entry
@@ -28,7 +29,11 @@ async def test_entry_diagnostics(
"port": 8080,
"ssl": True,
},
"options": {"use_app_run_times": False},
"options": {
"zone_run_time": DEFAULT_ZONE_RUN,
"use_app_run_times": False,
"allow_inactive_zones_to_run": False,
},
"pref_disable_new_entities": False,
"pref_disable_polling": False,
"source": "user",
@@ -655,7 +660,11 @@ async def test_entry_diagnostics_failed_controller_diagnostics(
"port": 8080,
"ssl": True,
},
"options": {"use_app_run_times": False},
"options": {
"zone_run_time": DEFAULT_ZONE_RUN,
"use_app_run_times": False,
"allow_inactive_zones_to_run": False,
},
"pref_disable_new_entities": False,
"pref_disable_polling": False,
"source": "user",