Get device commands
hubitat_get_device_commandsRetrieve all available commands for a Hubitat device via the Maker API. Use this before sending a command to verify the exact command name exists, avoiding guesswork and failed actions.
Instructions
List commands available for a device via Maker API. Prefer this over guessing command names.
Use when: before hubitat_send_command to confirm the command exists. Do NOT use when: sending a known simple Switch on/off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Maker API device ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | ||
| device_id | Yes |