/**
 * @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 SolarPowerDt = DeviceType(
  { name: "SolarPower", id: 23, classification: "simple" },
  Requirement(
    { name: "Descriptor", id: 29, element: "serverCluster" },
    Requirement({ name: "DeviceTypeList", default: [{ deviceType: 23, 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: "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: "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: "O", 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" })
    )
  )
);
MatterDefinition.children.push(SolarPowerDt);
export {
  SolarPowerDt
};
//# sourceMappingURL=solar-power.element.js.map
