v1.6.20
What's new
Shift program next run (entity service)
New rainmachine_pro.shift_program_next_run entity service to move a program's next scheduled run earlier or later by whole days.
action: rainmachine_pro.shift_program_next_run
target:
entity_id: switch.rainmachine_main_garden
data:
days: 1 # positive = later, negative = earlier (-31 to 31)- Mirrors the native RainMachine app's "next run" date picker
- Useful to wire dashboard +/- buttons to nudge the watering cycle after unexpected rain
- Computes from freshly fetched
nextRun— rapid repeated calls accumulate correctly - Raises if the program has no scheduled next run (disabled/unschedulable)
Changes
api.py: newaction_shift_program_next_run(pid, days)switch.py: entity service registration +async_shift_next_runhandlerservices.yaml: new file describing the serviceREADME.md: updated documentation
Contributors
Thanks to @aroberts for contributing this feature.