ReferenceDevice capabilities
pressure-sensor
Atmospheric pressure reading in hectopascals.
Atmospheric pressure reading in hectopascals. Drives Home Assistant sensor entries with device_class: pressure.
Unit normalisation: hPa. The canonical display unit (hPa) is a descriptor constant in the UI (ROLE_DESCRIPTOR), not stored in sourceInfo.
At a glance
| Capability | pressure-sensor |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | sensor |
| Source | packages/types/src/capabilities/pressure-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 |
|---|---|---|---|
pressure | number | null | yes | Current pressure in hPa. null when the sample was refused. |
lastFetchedAt | number | yes | Ms epoch when the slice was last updated. |