sonoff_toggle
Turn a Sonoff device on or off remotely by providing its device IDs and desired state. Simplifies smart home control via the IoT MCP server.
Instructions
Toggle a Sonoff device on or off
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Desired state: "on" or "off" | |
| device_id | Yes | Sonoff cloud account device ID | |
| sonoff_device_id | Yes | Sonoff device ID |