Send device command
hubitat_send_commandSend Maker API commands like on, off, or setLevel to a Hubitat device by specifying the device ID and command name, with optional value support for actions such as dimming or locking.
Instructions
Send a generic Maker API command to a device: /devices/{id}/{command}[/{value}].
Use when: turning devices on/off, setLevel, lock, etc. Do NOT use when: setting color from hex — use hubitat_set_color instead. Validates the command exists via /commands before sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Optional secondary value (already path-safe or simple number/string) | |
| command | Yes | Command name, e.g. on, off, setLevel | |
| device_id | Yes | Maker API device ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| device | No | ||
| command | Yes | ||
| device_id | Yes |