/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import {
  DeviceTypeElement as DeviceType,
  RequirementElement as Requirement,
  FieldElement as Field
} from "../../elements/index.js";
const DeviceEnergyManagementDt = DeviceType(
  { name: "DeviceEnergyManagement", id: 1293, classification: "utility" },
  Requirement(
    { name: "Descriptor", id: 29, element: "serverCluster" },
    Requirement({ name: "DeviceTypeList", default: [{ deviceType: 1293, revision: 2 }], element: "attribute" })
  ),
  Requirement(
    { name: "DeviceEnergyManagement", id: 152, conformance: "M", element: "serverCluster" },
    Requirement({ name: "POWERADJUSTMENT", conformance: "[ControllableESA].a+", element: "feature" }),
    Requirement({ name: "STARTTIMEADJUSTMENT", conformance: "[ControllableESA].a+", element: "feature" }),
    Requirement({ name: "PAUSABLE", conformance: "[ControllableESA].a+", element: "feature" }),
    Requirement({ name: "FORECASTADJUSTMENT", conformance: "[ControllableESA].a+", element: "feature" }),
    Requirement({ name: "CONSTRAINTBASEDADJUSTMENT", conformance: "[ControllableESA].a+", element: "feature" })
  ),
  Requirement(
    { name: "DeviceEnergyManagementMode", id: 159, conformance: "ControllableESA, O", element: "serverCluster" }
  ),
  Field({ name: "conditions", type: "enum8" }, Field({ name: "ControllableEsa" }))
);
MatterDefinition.children.push(DeviceEnergyManagementDt);
export {
  DeviceEnergyManagementDt
};
//# sourceMappingURL=device-energy-management-device.element.js.map
