/**
 * @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 DimmableLightDt = DeviceType(
  { name: "DimmableLight", id: 257, classification: "simple" },
  Requirement(
    { name: "Descriptor", id: 29, element: "serverCluster" },
    Requirement({ name: "DeviceTypeList", default: [{ deviceType: 257, revision: 3 }], element: "attribute" })
  ),
  Requirement(
    { name: "Identify", id: 3, conformance: "M", element: "serverCluster" },
    Requirement({ name: "TriggerEffect", conformance: "M", element: "command" })
  ),
  Requirement({ name: "Groups", id: 4, conformance: "M", element: "serverCluster" }),
  Requirement(
    { name: "ScenesManagement", id: 98, conformance: "M", element: "serverCluster" },
    Requirement({ name: "CopyScene", conformance: "M", element: "command" })
  ),
  Requirement(
    { name: "OnOff", id: 6, conformance: "M", element: "serverCluster" },
    Requirement({ name: "LIGHTING", conformance: "M", element: "feature" })
  ),
  Requirement(
    { name: "LevelControl", id: 8, conformance: "M", element: "serverCluster" },
    Requirement({ name: "LIGHTING", conformance: "M", element: "feature" }),
    Requirement({ name: "ONOFF", conformance: "M", element: "feature" }),
    Requirement({ name: "CurrentLevel", constraint: "1 to 254", element: "attribute" }),
    Requirement({ name: "MinLevel", constraint: "1", element: "attribute" }),
    Requirement({ name: "MaxLevel", constraint: "254", element: "attribute" })
  ),
  Requirement({ name: "OccupancySensing", id: 1030, conformance: "O", element: "clientCluster" })
);
MatterDefinition.children.push(DimmableLightDt);
export {
  DimmableLightDt
};
//# sourceMappingURL=dimmable-light.element.js.map
