set_rain_delay
Set a rain delay expiration to pause all sprinkler schedules until a specified time. Cancel an existing delay using '1970-01-01T00:00:00Z'.
Instructions
Set a rain-delay expiration for the device.
The device will not run any schedules until the given time. Pass an
ISO-8601 datetime (2026-05-01T00:00:00Z) or 1970-01-01T00:00:00Z
to cancel an existing delay.
Args: device_id: Controller UUID. expiration: ISO-8601 datetime when the delay expires.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| expiration | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |