@camera.ui/sdk / sensor / MeasurementDefinition
Interface: MeasurementDefinition ​
Defined in: sensor/measurement.ts:14
What sets one measurement type apart from another, passed to defineMeasurement.
Properties ​
deviceClass ​
readonlydeviceClass:string
Defined in: sensor/measurement.ts:18
Device class consumers such as Home Assistant use for the type.
initial ​
readonlyinitial:number
Defined in: sensor/measurement.ts:20
Reading a new sensor starts with, real or virtual.
max? ​
readonlyoptionalmax?:number
Defined in: sensor/measurement.ts:24
Highest reading the quantity can have.
min? ​
readonlyoptionalmin?:number
Defined in: sensor/measurement.ts:22
Lowest reading the quantity can have.
unit ​
readonlyunit:string
Defined in: sensor/measurement.ts:16
Unit of the reading, e.g. °C.