Dominevo
ReferenceDevice capabilities

numeric-sensor

Generic numeric sensor — last-resort fallback when no typed numeric cap fits (HA sensor whose device_class we don't have a typed cap for: water flow, distance, weight, frequency, signal strength, …).

Generic numeric sensor — last-resort fallback when no typed numeric cap fits (HA sensor whose device_class we don't have a typed cap for: water flow, distance, weight, frequency, signal strength, …).

The quantity is not on this slice. It is chosen when the device is adopted and stored once on SourceInfo.quantity. value is in that quantity's base unit. null is a refused sample.

Prefer the typed alternatives (temperature-sensor, humidity-sensor, ambient-light-sensor, pressure-sensor, power-meter, air-quality-sensor, battery) when the metric matches — export adapters render those with the right service / category. Generic numeric values land here.

At a glance

Capabilitynumeric-sensor
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typessensor
Sourcepackages/types/src/capabilities/numeric-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.

FieldTypeRequiredDescription
valuenumber | nullyesReading in the device quantity's base unit. null when refused.
lastFetchedAtnumberyesMs epoch when the slice was last updated.