hubitat_get_attribute
Retrieves the current value of a specified Hubitat device attribute, such as switch or temperature, using its device ID and attribute name.
Instructions
Get the current value of a device attribute
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deviceId": "<deviceId>",
"attribute": "<attribute>"
},
"name": "hubitat_get_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The ID of the device | |
| attribute | Yes | The attribute name (e.g., "switch", "temperature", "level") |