control_switch
Turn Plugwise smart home devices on or off by specifying the appliance ID and desired state to control switches, relays, and smart plugs.
Instructions
Turn a switch or relay on or off. Works with Plugwise switches, relays, and smart plugs. Use this to control any switchable device in your Plugwise network.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appliance_id | Yes | ID of the appliance/device to control | |
| state | Yes | Desired state: "on" to turn on, "off" to turn off | |
| model | No | Switch model type (default: relay). Options: relay, switch, plug |