/**
 * @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 ColorDimmerSwitchDt = DeviceType({
  name: "ColorDimmerSwitch",
  id: 261,
  type: "DimmerSwitch",
  category: "Switches and Controls",
  classification: "simple",
  details: "A Color Dimmer Switch is a controller device that, when bound to a lighting device such as an Extended Color Light, is capable of being used to adjust the color of the light being emitted.",
  xref: { document: "device", section: "6.3" },
  children: [
    Requirement({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [Requirement({ name: "DeviceTypeList", default: [{ deviceType: 261, revision: 3 }], element: "attribute" })]
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "6.3.4" }
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.3.4" }
    }),
    Requirement({
      name: "Groups",
      id: 4,
      conformance: "O",
      element: "clientCluster",
      xref: { document: "device", section: "6.3.4" }
    }),
    Requirement({
      name: "ScenesManagement",
      id: 98,
      conformance: "P, O",
      element: "clientCluster",
      xref: { document: "device", section: "6.3.4" }
    }),
    Requirement({
      name: "OnOff",
      id: 6,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.3.4" }
    }),
    Requirement({
      name: "LevelControl",
      id: 8,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.3.4" }
    }),
    Requirement({
      name: "ColorControl",
      id: 768,
      conformance: "M",
      element: "clientCluster",
      xref: { document: "device", section: "6.3.4" }
    })
  ]
});
MatterDefinition.children.push(ColorDimmerSwitchDt);
export {
  ColorDimmerSwitchDt
};
//# sourceMappingURL=ColorDimmerSwitchDT.js.map
