@camera.ui/sdk / sensor / SensorOptions
Interface: SensorOptions
Defined in: sensor/base.ts:690
Options accepted by every sensor constructor.
Properties
exposed?
optionalexposed?:boolean
Defined in: sensor/base.ts:709
Initial export state when the host creates the sensor entity. Later user changes win; re-registering never overwrites them.
hidden?
optionalhidden?:boolean
Defined in: sensor/base.ts:714
Initial hidden state when the host creates the sensor entity. Later user changes win; re-registering never overwrites them.
nativeId?
optionalnativeId?:string
Defined in: sensor/base.ts:697
Durable identity supplied by the plugin, e.g. an upstream device id. The host reconciles the sensor across restarts by (pluginId, nativeId); without it, identity falls back to (type, name) and a rename creates a new sensor.
origin?
optionalorigin?:string
Defined in: sensor/base.ts:704
Source system the sensor was imported from, e.g. 'homeassistant'. The host stores it on the sensor entity, and export bridges targeting that system skip the sensor so an import can never be exported back to where it came from.