Control Device
set_device_capabilitySet a device capability value such as onoff, dim, or target_temperature to control smart home devices.
Instructions
Control a device by setting a capability value. Common capabilities: 'onoff' (boolean — turn on/off), 'dim' (number 0-1 — brightness), 'target_temperature' (number — thermostat setpoint), 'volume_set' (number 0-1). Use get_device first to see available capabilities and their current values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set (type depends on capability) | |
| deviceId | Yes | Device ID | |
| capability | Yes | Capability ID (e.g. onoff, dim, target_temperature, volume_set) |