"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var ExtendedColorLightDT_exports = {};
__export(ExtendedColorLightDT_exports, {
  ExtendedColorLightDt: () => ExtendedColorLightDt
});
module.exports = __toCommonJS(ExtendedColorLightDT_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2024 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const ExtendedColorLightDt = (0, import_elements.DeviceTypeElement)({
  name: "ExtendedColorLight",
  id: 269,
  type: "ColorTemperatureLight",
  category: "Lighting",
  classification: "simple",
  details: "An Extended Color Light is a lighting device that is capable of being switched on or off, the intensity of its light adjusted, and its color adjusted by means of a bound controller device such as a Color Dimmer Switch or Control Bridge. The device supports adjustment of color by means of hue/saturation, enhanced hue, color looping, XY coordinates, and color temperature. In addition, the extended color light is also capable of being switched by means of a bound occupancy sensor.",
  xref: { document: "device", section: "4.4" },
  children: [
    (0, import_elements.RequirementElement)({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [(0, import_elements.RequirementElement)({ name: "DeviceTypeList", default: [{ deviceType: 269, revision: 4 }], element: "attribute" })]
    }),
    (0, import_elements.RequirementElement)({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.4.4" },
      children: [(0, import_elements.RequirementElement)({ name: "TriggerEffect", conformance: "M", element: "command" })]
    }),
    (0, import_elements.RequirementElement)({
      name: "Groups",
      id: 4,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.4.4" }
    }),
    (0, import_elements.RequirementElement)({
      name: "ScenesManagement",
      id: 98,
      conformance: "P, M",
      element: "serverCluster",
      xref: { document: "device", section: "4.4.4" },
      children: [(0, import_elements.RequirementElement)({ name: "CopyScene", conformance: "P, M", element: "command" })]
    }),
    (0, import_elements.RequirementElement)({
      name: "OnOff",
      id: 6,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.4.4" },
      children: [(0, import_elements.RequirementElement)({ name: "LIGHTING", conformance: "M", element: "feature" })]
    }),
    (0, import_elements.RequirementElement)({
      name: "LevelControl",
      id: 8,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.4.4" },
      children: [
        (0, import_elements.RequirementElement)({ name: "ONOFF", conformance: "M", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "LIGHTING", conformance: "M", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "CurrentLevel", constraint: "1 to 254", element: "attribute" }),
        (0, import_elements.RequirementElement)({ name: "MinLevel", constraint: "1", element: "attribute" }),
        (0, import_elements.RequirementElement)({ name: "MaxLevel", constraint: "254", element: "attribute" })
      ]
    }),
    (0, import_elements.RequirementElement)({
      name: "ColorControl",
      id: 768,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "4.4.4" },
      children: [
        (0, import_elements.RequirementElement)({ name: "HUESATURATION", conformance: "O", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "ENHANCEDHUE", conformance: "O", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "COLORLOOP", conformance: "O", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "XY", conformance: "M", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "COLORTEMPERATURE", conformance: "M", element: "feature" }),
        (0, import_elements.RequirementElement)({ name: "RemainingTime", conformance: "M", element: "attribute" })
      ]
    }),
    (0, import_elements.RequirementElement)({
      name: "OccupancySensing",
      id: 1030,
      conformance: "O",
      element: "clientCluster",
      xref: { document: "device", section: "4.4.4" }
    })
  ]
});
import_MatterDefinition.MatterDefinition.children.push(ExtendedColorLightDt);
//# sourceMappingURL=ExtendedColorLightDT.js.map
