Get hub variable
hubitat_get_hub_variableRead a Hubitat hub variable by name to retrieve values that Rule Machine rules subscribe to, supporting automation logic and virtual switch coordination.
Instructions
Read a Hubitat hub variable (admin route; firmware-sensitive). Hub variables are one of two Rule Machine levers (with virtual switches).
Use when: reading a variable that rules subscribe to. Do NOT use when: controlling a device attribute (use hubitat_get_device).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Hub variable name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | ||
| value | Yes |