Fix bug when starting a RainMachine zone via service call (#64213)

This commit is contained in:
Aaron Bach
2022-01-16 16:38:23 -07:00
committed by GitHub
parent fd955be547
commit 2133eaa3a1

View File

@@ -369,7 +369,7 @@ class RainMachineZone(RainMachineActivitySwitch):
async def async_start_zone(self, *, zone_run_time: int) -> None: async def async_start_zone(self, *, zone_run_time: int) -> None:
"""Start a particular zone for a certain amount of time.""" """Start a particular zone for a certain amount of time."""
await self.async_turn_off(duration=zone_run_time) await self.async_turn_on(duration=zone_run_time)
async def async_stop_zone(self) -> None: async def async_stop_zone(self) -> None:
"""Stop a zone.""" """Stop a zone."""