ReferenceDevice capabilities
ambient-light-sensor
Ambient illuminance reading in lux.
Ambient illuminance reading in lux. Drives Home Assistant sensor entries with device_class: illuminance.
At a glance
| Capability | ambient-light-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/ambient-light-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 |
|---|---|---|---|
illuminance | number | null | yes | Current illuminance in lux (lx). null when the sample was refused. |
lastFetchedAt | number | yes | Ms epoch when the slice was last updated. |