/**
 * @license
 * Copyright 2022-2024 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 ElectricalSensorDt = DeviceType({
  name: "ElectricalSensor",
  id: 1296,
  category: "Utility",
  classification: "utility",
  details: "An Electrical Sensor device measures the electrical power and/or energy being imported and/or exported.",
  xref: { document: "device", section: "2.6" },
  children: [
    Requirement({
      name: "Descriptor",
      id: 29,
      element: "serverCluster",
      children: [Requirement({ name: "DeviceTypeList", default: [{ deviceType: 1296, revision: 1 }], element: "attribute" })]
    }),
    Requirement({
      name: "PowerTopology",
      id: 156,
      conformance: "M",
      element: "serverCluster",
      xref: { document: "device", section: "2.6.4" }
    }),
    Requirement({
      name: "ElectricalPowerMeasurement",
      id: 144,
      conformance: "O.a+",
      element: "serverCluster",
      xref: { document: "device", section: "2.6.4" }
    }),
    Requirement({
      name: "ElectricalEnergyMeasurement",
      id: 145,
      conformance: "O.a+",
      element: "serverCluster",
      xref: { document: "device", section: "2.6.4" }
    })
  ]
});
MatterDefinition.children.push(ElectricalSensorDt);
export {
  ElectricalSensorDt
};
//# sourceMappingURL=ElectricalSensorDT.js.map
