"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 identify_element_exports = {};
__export(identify_element_exports, {
  Identify: () => Identify
});
module.exports = __toCommonJS(identify_element_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const Identify = (0, import_elements.ClusterElement)(
  { name: "Identify", id: 3, classification: "endpoint" },
  (0, import_elements.AttributeElement)({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 6 }),
  (0, import_elements.AttributeElement)({ name: "IdentifyTime", id: 0, type: "uint16", access: "RW VO", conformance: "M", quality: "Q" }),
  (0, import_elements.AttributeElement)({ name: "IdentifyType", id: 1, type: "IdentifyTypeEnum", access: "R V", conformance: "M", constraint: "desc" }),
  (0, import_elements.CommandElement)(
    { name: "Identify", id: 0, access: "M", conformance: "M", direction: "request", response: "status" },
    (0, import_elements.FieldElement)({ name: "IdentifyTime", id: 0, type: "uint16", conformance: "M" })
  ),
  (0, import_elements.CommandElement)(
    { name: "TriggerEffect", id: 64, access: "M", conformance: "O", direction: "request", response: "status" },
    (0, import_elements.FieldElement)({ name: "EffectIdentifier", id: 0, type: "EffectIdentifierEnum", conformance: "M", constraint: "desc" }),
    (0, import_elements.FieldElement)({ name: "EffectVariant", id: 1, type: "EffectVariantEnum", conformance: "M", constraint: "desc" })
  ),
  (0, import_elements.DatatypeElement)(
    { name: "IdentifyTypeEnum", type: "enum8" },
    (0, import_elements.FieldElement)({ name: "None", id: 0, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "LightOutput", id: 1, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "VisibleIndicator", id: 2, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "AudibleBeep", id: 3, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "Display", id: 4, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "Actuator", id: 5, conformance: "M" })
  ),
  (0, import_elements.DatatypeElement)(
    { name: "EffectIdentifierEnum", type: "enum8" },
    (0, import_elements.FieldElement)({ name: "Blink", id: 0, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "Breathe", id: 1, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "Okay", id: 2, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "ChannelChange", id: 11, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "FinishEffect", id: 254, conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "StopEffect", id: 255, conformance: "M" })
  ),
  (0, import_elements.DatatypeElement)({ name: "EffectVariantEnum", type: "enum8" }, (0, import_elements.FieldElement)({ name: "Default", id: 0, conformance: "M" }))
);
import_MatterDefinition.MatterDefinition.children.push(Identify);
//# sourceMappingURL=identify.element.js.map
