@camera.ui/sdk / sensor / SensorPropertySpec
Interface: SensorPropertySpec
Defined in: sensor/meta.ts:30
Per-property value description: what type a property carries, its possible enum values or numeric range, and whether it is a command or an internal detail. Consumers (automation pickers, value editors) render from this instead of hand-maintained tables.
Properties
internal?
readonlyoptionalinternal?:boolean
Defined in: sensor/meta.ts:46
Not an observable state: hidden from trigger/condition pickers.
keys?
readonlyoptionalkeys?: readonlystring[]
Defined in: sensor/meta.ts:36
Object properties: scalar member keys, exposed as value-path variables.
max?
readonlyoptionalmax?:number
Defined in: sensor/meta.ts:40
Numeric properties: highest accepted value.
min?
readonlyoptionalmin?:number
Defined in: sensor/meta.ts:38
Numeric properties: lowest accepted value.
type
readonlytype:SensorPropertyValueType
Defined in: sensor/meta.ts:32
Runtime type of the value.
unit?
readonlyoptionalunit?:string
Defined in: sensor/meta.ts:42
Display unit of the value, e.g. % or °C.
values?
readonlyoptionalvalues?:Readonly<Record<string,string|number>>
Defined in: sensor/meta.ts:34
Enum properties: value-name → wire value. Names double as i18n key stems.
writable?
readonlyoptionalwritable?:boolean
Defined in: sensor/meta.ts:44
Accepts external writes (commands, target states, virtual sensor state).