diff --git a/custom_components/schedule_wizard/scheduler.py b/custom_components/schedule_wizard/scheduler.py index 8050fba..7fd8b2a 100644 --- a/custom_components/schedule_wizard/scheduler.py +++ b/custom_components/schedule_wizard/scheduler.py @@ -710,6 +710,9 @@ async def async_run_cycle(self, cycle_id: str, source: str = "manual", note: str if cycle_id in self._active_cycles: await self.async_stop_cycle(cycle_id, note="superseded") + if not self._active and not self._active_cycles: + await self._async_master_open() + state = { "cycle_id": cycle_id, "cycle_name": cycle.get("name", ""),