/**
 * @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 OnOffSensorDt = DeviceType(
  { name: "OnOffSensor", id: 2128, classification: "simple" },
  Requirement(
    { name: "Descriptor", id: 29, element: "serverCluster" },
    Requirement({ name: "DeviceTypeList", default: [{ deviceType: 2128, revision: 3 }], element: "attribute" })
  ),
  Requirement({ name: "Identify", id: 3, conformance: "M", element: "serverCluster" }),
  Requirement({ name: "Identify", id: 3, conformance: "M", element: "clientCluster" }),
  Requirement({ name: "Groups", id: 4, conformance: "O", element: "clientCluster" }),
  Requirement({ name: "ScenesManagement", id: 98, conformance: "O", element: "clientCluster" }),
  Requirement({ name: "OnOff", id: 6, conformance: "M", element: "clientCluster" }),
  Requirement({ name: "LevelControl", id: 8, conformance: "O", element: "clientCluster" }),
  Requirement({ name: "ColorControl", id: 768, conformance: "O", element: "clientCluster" })
);
MatterDefinition.children.push(OnOffSensorDt);
export {
  OnOffSensorDt
};
//# sourceMappingURL=on-off-sensor.element.js.map
