From 2133eaa3a1ef2311bf2d42d8856b056a5526d63a Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Sun, 16 Jan 2022 16:38:23 -0700 Subject: [PATCH] Fix bug when starting a RainMachine zone via service call (#64213) --- homeassistant/components/rainmachine/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rainmachine/switch.py b/homeassistant/components/rainmachine/switch.py index d96b145300e..523e4f94640 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -369,7 +369,7 @@ class RainMachineZone(RainMachineActivitySwitch): async def async_start_zone(self, *, zone_run_time: int) -> None: """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: """Stop a zone."""