shelly_switch_set
Control a Shelly relay channel by turning it on or off and optionally auto-revert after a set time. Returns the updated channel state with audit logging.
Instructions
Turn a switch/relay channel on or off (optionally auto-revert after N seconds).
Returns the post-action ChannelState. Audit-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| device | Yes | ||
| channel | No | ||
| toggle_after_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||