power_action
Control individual outlets on DLI Web Power Switches by turning them on, off, or cycling power, with optional confirmation to prevent unintended operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| switch_id | Yes | ||
| outlet_id | Yes | ||
| action | Yes | ||
| confirmation | No | NO |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |