Skip to content

@camera.ui/sdk / sensor / lightMeta

Variable: lightMeta

const lightMeta: object

Defined in: sensor/light.ts:138

Registry metadata for LightControl.

Type Declaration

assignmentKey

readonly assignmentKey: "light" = 'light'

cascadeTrigger

readonly cascadeTrigger: object

cascadeTrigger.property

readonly property: On = LightProperty.On

cascadeTrigger.sustained

readonly sustained: true = true

cascadeTrigger.value

readonly value: true = true

category

readonly category: Control = SensorCategory.Control

isDetectionType

readonly isDetectionType: false = false

multiProvider

readonly multiProvider: true = true

properties

readonly properties: object

properties.brightness

readonly brightness: object

properties.brightness.max

readonly max: 100 = 100

properties.brightness.min

readonly min: 0 = 0

properties.brightness.type

readonly type: "number" = 'number'

properties.brightness.unit

readonly unit: "%" = '%'

properties.brightness.writable

readonly writable: true = true

properties.on

readonly on: object

properties.on.type

readonly type: "boolean" = 'boolean'

properties.on.writable

readonly writable: true = true

propertyCapabilities

readonly propertyCapabilities: object

propertyCapabilities.brightness

readonly brightness: Brightness = LightCapability.Brightness

semantics

readonly semantics: object

semantics.commandProperty

readonly commandProperty: On = LightProperty.On

semantics.domain

readonly domain: Light = SensorDomain.Light

semantics.stateProperty

readonly stateProperty: On = LightProperty.On

shortcutable

readonly shortcutable: true = true

type

readonly type: Light = SensorType.Light

virtual

readonly virtual: object

virtual.capabilities

readonly capabilities: readonly [Brightness]

virtual.properties

readonly properties: object

virtual.properties.brightness

readonly brightness: 100 = 100

virtual.properties.on

readonly on: false = false