interface State {
    currentMode: number;
    onMode: number;
    startUpMode: number;
    supportedModes: TypeFromFields<{
        label: FieldType<string>;
        mode: FieldType<number>;
        modeTags: FieldType<TypeFromFields<{
            mfgCode: OptionalFieldType<VendorId>;
            value: FieldType<number>;
        }>[]>;
    }>[];
}

Hierarchy

  • StateType
    • State

Properties

currentMode: number

MatterSpecification.v13.Cluster § 8.5.5

onMode: number

MatterSpecification.v13.Cluster § 8.5.5

startUpMode: number

If this attribute is supported, the device SHOULD initially set this to one of the supported modes that has the Normal tag associated with it. See the Mode Base cluster specification for full details about the StartUpMode attribute.

MatterSpecification.v13.Cluster § 8.5.5.1

supportedModes: TypeFromFields<{
    label: FieldType<string>;
    mode: FieldType<number>;
    modeTags: FieldType<TypeFromFields<{
        mfgCode: OptionalFieldType<VendorId>;
        value: FieldType<number>;
    }>[]>;
}>[]

MatterSpecification.v13.Cluster § 8.5.5