/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */

/*** THIS FILE IS GENERATED, DO NOT EDIT ***/

import { MatterDefinition } from "../MatterDefinition.js";
import {
    DeviceTypeElement as DeviceType,
    RequirementElement as Requirement,
    FieldElement as Field
} from "../../elements/index.js";

export const AggregatorDt = DeviceType(
    { name: "Aggregator", id: 0xe, classification: "simple" },
    Requirement(
        { name: "Descriptor", id: 0x1d, element: "serverCluster" },
        Requirement({ name: "DeviceTypeList", default: [ { deviceType: 14, revision: 2 } ], element: "attribute" })
    ),
    Requirement({ name: "Actions", id: 0x25, conformance: "O", element: "serverCluster" }),
    Requirement({ name: "Identify", id: 0x3, conformance: "O", element: "serverCluster" }),
    Requirement({ name: "CommissionerControl", id: 0x751, conformance: "FabricSynchronization", element: "serverCluster" }),
    Field({ name: "conditions", type: "enum8" }, Field({ name: "FabricSynchronization" }))
);

MatterDefinition.children.push(AggregatorDt);
