ReferenceDevice capabilities
temperature-sensor
Single-metric temperature reading.
Single-metric temperature reading. Drives Home Assistant sensor entries with device_class: temperature and any future native thermometer.
The number is Celsius. Providers convert on ingest. A failed conversion is null, never a guess. Display unit is a read-time preference.
Status lastFetchedAt lets staleness-aware consumers detect a frozen feed (provider hung) distinct from a "temperature hasn't changed" steady state.
At a glance
| Capability | temperature-sensor |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | sensor, climate |
| Source | packages/types/src/capabilities/temperature-sensor.cap.ts |
Methods
This capability declares no methods.
Runtime state
The state Dominevo keeps for each device with this capability, readable without calling the provider.
| Field | Type | Required | Description |
|---|---|---|---|
temperature | number | null | yes | Current temperature in Celsius. null when the sample was refused. |
lastFetchedAt | number | yes | Ms epoch when the slice was last updated (push or poll). |