ClusterInstance: MutableCluster<{
    attributes: {
        stateValue: Attribute<boolean, any>;
    };
    events: {
        stateChange: OptionalEvent<TypeFromFields<{
            stateValue: FieldType<boolean>;
        }>, any>;
    };
    id: 69;
    name: "BooleanState";
    revision: 1;
}, []> = ...

Type declaration

  • Readonlyattributes: {
        stateValue: Attribute<boolean, any>;
    }
    • ReadonlystateValue: Attribute<boolean, any>

      This represents a boolean state.

      The semantics of this boolean state are defined by the device type using this cluster.

      For example, in a Contact Sensor device type, FALSE=open or no contact, TRUE=closed or contact.

      MatterSpecification.v13.Cluster § 1.7.4.1

  • Readonlyevents: {
        stateChange: OptionalEvent<TypeFromFields<{
            stateValue: FieldType<boolean>;
        }>, any>;
    }
    • ReadonlystateChange: OptionalEvent<TypeFromFields<{
          stateValue: FieldType<boolean>;
      }>, any>

      If this event is supported, it shall be generated when the StateValue attribute changes.

      MatterSpecification.v13.Cluster § 1.7.5.1

  • Readonlyid: 69
  • Readonlyname: "BooleanState"
  • Readonlyrevision: 1