"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 OnOffPlugInUnitDT_exports = {};
__export(OnOffPlugInUnitDT_exports, {
  OnOffPlugInUnitDt: () => OnOffPlugInUnitDt
});
module.exports = __toCommonJS(OnOffPlugInUnitDT_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 OnOffPlugInUnitDt = (0, import_elements.DeviceTypeElement)({
  name: "OnOffPlugInUnit",
  id: 266,
  category: "Smart Plugs/Outlets and other Actuators",
  classification: "simple",
  details: "An On/Off Plug-in Unit is a device that provides power to another device that is plugged into it, and is capable of switching that provided power on or off.",
  xref: { document: "device", section: "5.1" },
  children: [
    (0, import_elements.RequirementElement)({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [(0, import_elements.RequirementElement)({ name: "DeviceTypeList", default: [{ deviceType: 266, revision: 3 }], element: "attribute" })]
    }),
    (0, import_elements.RequirementElement)({
      name: "Identify",
      id: 3,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "5.1.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: "5.1.4" }
    }),
    (0, import_elements.RequirementElement)({
      name: "ScenesManagement",
      id: 98,
      conformance: "P, M",
      element: "serverCluster",
      xref: { document: "device", section: "5.1.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: "5.1.4" },
      children: [(0, import_elements.RequirementElement)({ name: "LIGHTING", conformance: "M", element: "feature" })]
    }),
    (0, import_elements.RequirementElement)({
      name: "LevelControl",
      id: 8,
      conformance: "O",
      element: "serverCluster",
      xref: { document: "device", section: "5.1.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: "OccupancySensing",
      id: 1030,
      conformance: "O",
      element: "clientCluster",
      xref: { document: "device", section: "5.1.4" }
    })
  ]
});
import_MatterDefinition.MatterDefinition.children.push(OnOffPlugInUnitDt);
//# sourceMappingURL=OnOffPlugInUnitDT.js.map
