control_switch
Turn a Wyze wall switch on or off using its device ID or nickname, providing direct control over connected smart home devices.
Instructions
Turn a Wyze wall switch on or off. Use device ID or nickname to identify the switch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Desired state: "on" or "off" | |
| deviceId | Yes | Device ID (MAC) or nickname of the switch |