shelly_switch_toggle
Toggle a Shelly switch or relay channel by device and optional channel, returning the post-action channel state; the action is audit-logged.
Instructions
Toggle a switch/relay channel. Returns the post-action ChannelState. Audit-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| channel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||