/**
 * @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 ColorTemperatureLightDt = DeviceType({
  name: "ColorTemperatureLight",
  id: 268,
  type: "DimmableLight",
  category: "Lighting",
  classification: "simple",
  details: "A Color Temperature Light is a lighting device that is capable of being switched on or off, the intensity of its light adjusted, and its color temperature adjusted by means of a bound controller device such as a Color Dimmer Switch.",
  xref: { document: "device", section: "4.3" },
  children: [
    Requirement({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [Requirement({ name: "DeviceTypeList", default: [{ deviceType: 268, revision: 4 }], element: "attribute" })]
    }),
    Requirement({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.3.4" },
      children: [Requirement({ name: "TriggerEffect", conformance: "M", element: "command" })]
    }),
    Requirement({
      name: "Groups",
      id: 4,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.3.4" }
    }),
    Requirement({
      name: "ScenesManagement",
      id: 98,
      conformance: "P, M",
      element: "serverCluster",
      xref: { document: "device", section: "4.3.4" },
      children: [Requirement({ name: "CopyScene", conformance: "P, M", element: "command" })]
    }),
    Requirement({
      name: "OnOff",
      id: 6,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.3.4" },
      children: [Requirement({ name: "LIGHTING", conformance: "M", element: "feature" })]
    }),
    Requirement({
      name: "LevelControl",
      id: 8,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.3.4" },
      children: [
        Requirement({ name: "ONOFF", conformance: "M", element: "feature" }),
        Requirement({ name: "LIGHTING", conformance: "M", element: "feature" }),
        Requirement({ name: "CurrentLevel", constraint: "1 to 254", element: "attribute" }),
        Requirement({ name: "MinLevel", constraint: "1", element: "attribute" }),
        Requirement({ name: "MaxLevel", constraint: "254", element: "attribute" })
      ]
    }),
    Requirement({
      name: "ColorControl",
      id: 768,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.3.4" },
      children: [
        Requirement({ name: "COLORTEMPERATURE", conformance: "M", element: "feature" }),
        Requirement({ name: "RemainingTime", conformance: "M", element: "attribute" })
      ]
    }),
    Requirement({
      name: "OccupancySensing",
      id: 1030,
      conformance: "O",
      element: "clientCluster",
      xref: { document: "device", section: "4.3.4" }
    })
  ]
});
MatterDefinition.children.push(ColorTemperatureLightDt);
export {
  ColorTemperatureLightDt
};
//# sourceMappingURL=ColorTemperatureLightDT.js.map
