/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import { DeviceTypeElement as DeviceType, RequirementElement as Requirement } from "../../elements/index.js";
const WaterHeaterDt = DeviceType(
  { name: "WaterHeater", id: 1295, classification: "simple" },
  Requirement(
    { name: "Descriptor", id: 29, element: "serverCluster" },
    Requirement({ name: "DeviceTypeList", default: [{ deviceType: 1295, revision: 1 }], element: "attribute" })
  ),
  Requirement({ name: "Identify", id: 3, conformance: "O", element: "serverCluster" }),
  Requirement({ name: "WaterHeaterManagement", id: 148, conformance: "M", element: "serverCluster" }),
  Requirement({ name: "WaterHeaterMode", id: 158, conformance: "M", element: "serverCluster" }),
  Requirement(
    { name: "Thermostat", id: 513, conformance: "M", element: "serverCluster" },
    Requirement({ name: "HEATING", conformance: "M", element: "feature" })
  ),
  Requirement({ name: "PowerSource", id: 17, conformance: "O", element: "deviceType" }),
  Requirement({ name: "TemperatureSensor", id: 770, conformance: "O", element: "deviceType" }),
  Requirement(
    { name: "DeviceEnergyManagement", id: 1293, conformance: "O", element: "deviceType" },
    Requirement(
      { name: "DeviceEnergyManagement", id: 152, element: "serverCluster" },
      Requirement({ name: "POWERFORECASTREPORTING", conformance: "M", element: "feature" })
    )
  ),
  Requirement(
    { name: "ElectricalSensor", id: 1296, conformance: "desc", element: "deviceType" },
    Requirement({ name: "ElectricalPowerMeasurement", id: 144, conformance: "M", element: "serverCluster" }),
    Requirement({ name: "ElectricalEnergyMeasurement", id: 145, conformance: "M", element: "serverCluster" })
  )
);
MatterDefinition.children.push(WaterHeaterDt);
export {
  WaterHeaterDt
};
//# sourceMappingURL=water-heater.element.js.map
