/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import {
  ClusterElement as Cluster,
  AttributeElement as Attribute,
  FieldElement as Field,
  DatatypeElement as Datatype
} from "../../elements/index.js";
const RefrigeratorAndTemperatureControlledCabinetMode = Cluster(
  {
    name: "RefrigeratorAndTemperatureControlledCabinetMode",
    id: 82,
    type: "ModeBase",
    classification: "application"
  },
  Attribute({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 3 }),
  Attribute(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    Field({ name: "DEPONOFF", conformance: "X", constraint: "0", title: "OnOff" })
  ),
  Attribute({ name: "SupportedModes", id: 0, conformance: "M" }),
  Attribute({ name: "CurrentMode", id: 1, conformance: "M" }),
  Attribute({ name: "StartUpMode", id: 2, conformance: "X" }),
  Attribute({ name: "OnMode", id: 3, conformance: "X" }),
  Datatype({ name: "ModeOptionStruct", type: "ModeOptionStruct" }),
  Datatype(
    { name: "ModeTag", type: "enum16" },
    Field({ name: "Auto", id: 0 }),
    Field({ name: "Quick", id: 1 }),
    Field({ name: "Quiet", id: 2 }),
    Field({ name: "LowNoise", id: 3 }),
    Field({ name: "LowEnergy", id: 4 }),
    Field({ name: "Vacation", id: 5 }),
    Field({ name: "Min", id: 6 }),
    Field({ name: "Max", id: 7 }),
    Field({ name: "Night", id: 8 }),
    Field({ name: "Day", id: 9 }),
    Field({ name: "RapidCool", id: 16384 }),
    Field({ name: "RapidFreeze", id: 16385 })
  )
);
MatterDefinition.children.push(RefrigeratorAndTemperatureControlledCabinetMode);
export {
  RefrigeratorAndTemperatureControlledCabinetMode
};
//# sourceMappingURL=refrigerator-and-temperature-controlled-cabinet-mode.element.js.map
