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

pull/64218/head
Aaron Bach 2022-01-16 16:38:23 -07:00 committed by GitHub
parent fd955be547
commit 2133eaa3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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."""