rainmachine switch platform allows you to control programs and zones
within a RainMachine smart Wi-Fi sprinkler controller.
You must have the RainMachine component configured to use this switch. After configuring that component, switches will automatically appear.
After Home Assistant loads, new switches will be added for every enabled program and zone. These work as expected:
- Program On/Off: starts/stops a program
- Zone On/Off: starts/stops a zone (using the
zone_run_timeparameter to determine how long to run for)
Programs and zones are linked. While a program is running, you will see both the program and zone switches turned on; turning either one off will turn the other one off (just like in the web app).