/**
 * @license
 * Copyright 2022-2024 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import { DeviceTypeElement as DeviceType, RequirementElement as Requirement } from "../../elements/index.js";
const OnOffLightSwitchDt = DeviceType({
  name: "OnOffLightSwitch",
  id: 259,
  category: "Switches and Controls",
  classification: "simple",
  details: "An On/Off Light Switch is a controller device that, when bound to a lighting device such as an On/Off Light, is capable of being used to switch the device on or off.",
  xref: { document: "device", section: "6.1" },
  children: [
    Requirement({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [Requirement({ name: "DeviceTypeList", default: [{ deviceType: 259, revision: 3 }], element: "attribute" })]
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "6.1.4" }
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.1.4" }
    }),
    Requirement({
      name: "Groups",
      id: 4,
      conformance: "O",
      element: "clientCluster",
      xref: { document: "device", section: "6.1.4" }
    }),
    Requirement({
      name: "OnOff",
      id: 6,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.1.4" }
    }),
    Requirement({
      name: "ScenesManagement",
      id: 98,
      conformance: "P, O",
      element: "clientCluster",
      xref: { document: "device", section: "6.1.4" }
    })
  ]
});
MatterDefinition.children.push(OnOffLightSwitchDt);
export {
  OnOffLightSwitchDt
};
//# sourceMappingURL=OnOffLightSwitchDT.js.map
