set_outlet
Switch an outlet on or off and get its state read back from the hub.
Instructions
Switch an outlet on or off and return its state as read back from the hub.
Args: outlet_id: The outlet's id, as returned by list_outlets. on: True to switch the outlet on, False to switch it off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| outlet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||