Readonly
move: Command<TypeFromFields<{ Readonly
moveReadonly
moveReadonly
moveReadonly
moveReadonly
step: Command<TypeFromFields<{ Readonly
stepReadonly
stop: Command<TypeFromFields<{ Readonly
stopReadonly
frequency: BitFlagFrequency
NOTE The Frequency feature is provisional.
Readonly
lighting: BitFlagLighting
This feature supports an interface for controlling the level of a light source. For the CurrentLevel attribute:
A value of 0x00 shall NOT be used.
A value of 0x01 shall indicate the minimum level that can be attained on a device. A value of 0xFE shall indicate the maximum level that can be attained on a device. A value of null shall represent an undefined value.
All other values are application specific gradations from the minimum to the maximum level.
Readonly
onOnOff
Dependency with the On/Off cluster
Modify elements using ElementModifier.alter.
Modify elements using ElementModifier.enable.
Modify elements using ElementModifier.set.
Select features using ClusterComposer.compose.
Rest
...selection: SelectionT
An identity type.
You can't do:
But you can do:
Without this type you'd have to do:
We have to do this a lot because we generate complex objects with detailed type information. When exported, TS (as of 5.2) inlines the type of these objects in declarations which makes our declarations massive. To avoid this we create an interface from the type then cast to the interface for export.