States

data class States : CmProperty

Represents a property with predefined states, each represented by a distinct value, allowing for selection from a set of options.

This type of property is expressed by a state. For example: "Lights" could be a states-type property that has a value of disabled, blinking and enabled.

Properties

Link copied to clipboard
open override val info: CmPropertyInfo.States

The CmPropertyInfo.States metadata describing this property.

Link copied to clipboard
open override val value: CmPropertyValue.States

The CmPropertyValue.States containing the value of the property.