/**
 * @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 DimmerSwitchDt = DeviceType({
  name: "DimmerSwitch",
  id: 260,
  type: "OnOffLightSwitch",
  category: "Switches and Controls",
  classification: "simple",
  details: "A Dimmer Switch is a controller device that, when bound to a lighting device such as a Dimmable Light, is capable of being used to switch the device on or off and adjust the intensity of the light being emitted.",
  xref: { document: "device", section: "6.2" },
  children: [
    Requirement({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [Requirement({ name: "DeviceTypeList", default: [{ deviceType: 260, revision: 3 }], element: "attribute" })]
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "6.2.4" }
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.2.4" }
    }),
    Requirement({
      name: "Groups",
      id: 4,
      conformance: "O",
      element: "clientCluster",
      xref: { document: "device", section: "6.2.4" }
    }),
    Requirement({
      name: "ScenesManagement",
      id: 98,
      conformance: "P, O",
      element: "clientCluster",
      xref: { document: "device", section: "6.2.4" }
    }),
    Requirement({
      name: "OnOff",
      id: 6,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.2.4" }
    }),
    Requirement({
      name: "LevelControl",
      id: 8,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.2.4" }
    })
  ]
});
MatterDefinition.children.push(DimmerSwitchDt);
export {
  DimmerSwitchDt
};
//# sourceMappingURL=DimmerSwitchDT.js.map
