"use strict";
var import_Resource = require("#models/Resource.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import_Resource.Resource.add({
  tag: "cluster",
  name: "BooleanState",
  pics: "BOOL",
  xref: "cluster\xA71.7",
  details: "This cluster provides an interface to a boolean state.",
  children: [
    {
      tag: "attribute",
      name: "StateValue",
      xref: "cluster\xA71.7.4.1",
      details: "This represents a boolean state.\nThe 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."
    },
    {
      tag: "event",
      name: "StateChange",
      xref: "cluster\xA71.7.5.1",
      details: "If this event is supported, it shall be generated when the StateValue attribute changes.",
      children: [{
        tag: "field",
        name: "StateValue",
        xref: "cluster\xA71.7.5.1.1",
        details: "This field shall indicate the new value of the StateValue attribute."
      }]
    }
  ]
});
//# sourceMappingURL=boolean-state.resource.js.map
