Retrieve the current state of an HVAC device including mode, temperature, and humidity
cURL
curl --request GET \ --url https://api.example.com/hvac/{deviceId} \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "vendor": "<string>", "sync": { "available": true, "lastPulledAt": "<string>" }, "metadata": { "model": "<string>", "source": "cache", "cacheType": "expedite" }, "state": { "temperature": 123, "active": true, "heatSetpoint": 123, "coolSetpoint": 123, "holdType": "permanent", "mode": "heat" }, "features": { "pull": [ { "key": "<string>", "min": 123, "max": 123 } ], "push": [ { "key": "<string>", "min": 123, "max": 123 } ] } }
The unique identifier for the HVAC device
"device_abc123"
Use expedite cache with 1 minute TTL instead of normal 15 minute TTL
false
HVAC state retrieved successfully
Show child attributes