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