/**
 * @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 } from "../../elements/index.js";
const BatteryStorageDt = DeviceType(
  { name: "BatteryStorage", id: 24, classification: "simple" },
  Requirement(
    { name: "Descriptor", id: 29, element: "serverCluster" },
    Requirement({ name: "DeviceTypeList", default: [{ deviceType: 24, revision: 1 }], element: "attribute" })
  ),
  Requirement({ name: "Identify", id: 3, conformance: "O", element: "serverCluster" }),
  Requirement(
    { name: "PowerSource", id: 17, conformance: "M", element: "deviceType" },
    Requirement(
      { name: "PowerSource", id: 47, element: "serverCluster" },
      Requirement({ name: "Wired", conformance: "M", element: "feature" }),
      Requirement({ name: "Battery", conformance: "M", element: "feature" }),
      Requirement({ name: "BatVoltage", conformance: "M", element: "attribute" }),
      Requirement({ name: "BatPercentRemaining", conformance: "M", element: "attribute" }),
      Requirement({ name: "BatTimeRemaining", conformance: "M", element: "attribute" }),
      Requirement({ name: "ActiveBatFaults", conformance: "M", element: "attribute" }),
      Requirement({ name: "BatCapacity", conformance: "M", element: "attribute" }),
      Requirement({ name: "BatTimeToFullCharge", conformance: "M", element: "attribute" }),
      Requirement({ name: "BatChargingCurrent", conformance: "M", element: "attribute" }),
      Requirement({ name: "ActiveBatChargeFaults", conformance: "M", element: "attribute" })
    ),
    Requirement(
      { name: "Descriptor", id: 29, element: "serverCluster" },
      Requirement({ name: "TagList", conformance: "M", element: "feature" })
    )
  ),
  Requirement(
    { name: "ElectricalSensor", id: 1296, conformance: "M", element: "deviceType" },
    Requirement(
      { name: "ElectricalPowerMeasurement", id: 144, element: "serverCluster" },
      Requirement({ name: "AlternatingCurrent", conformance: "M", element: "feature" }),
      Requirement({ name: "Voltage", conformance: "M", element: "attribute" }),
      Requirement({ name: "ActiveCurrent", conformance: "M", element: "attribute" })
    ),
    Requirement(
      { name: "ElectricalEnergyMeasurement", id: 145, element: "serverCluster" },
      Requirement({ name: "ExportedEnergy", conformance: "M", element: "feature" })
    )
  ),
  Requirement(
    { name: "DeviceEnergyManagement", id: 1293, conformance: "M", element: "deviceType" },
    Requirement(
      { name: "DeviceEnergyManagement", id: 152, element: "serverCluster" },
      Requirement({ name: "PowerAdjustment", conformance: "M", element: "feature" })
    )
  ),
  Requirement(
    { name: "TemperatureSensor", id: 770, conformance: "O", element: "deviceType" },
    Requirement(
      { name: "Descriptor", id: 29, element: "serverCluster" },
      Requirement({ name: "TagList", conformance: "M", element: "feature" })
    )
  ),
  Requirement({ name: "SolarPower", id: 23, conformance: "O", element: "deviceType" })
);
MatterDefinition.children.push(BatteryStorageDt);
export {
  BatteryStorageDt
};
//# sourceMappingURL=battery-storage.element.js.map
