/**
 * @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 LaundryWasherMode = Cluster(
  { name: "LaundryWasherMode", id: 81, 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: "struct" },
    Field({ name: "Label", id: 0, conformance: "M" }),
    Field({ name: "Mode", id: 1, conformance: "M" }),
    Field({ name: "ModeTags", id: 2, conformance: "M", constraint: "1 to 8" })
  ),
  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: "Normal", id: 16384 }),
    Field({ name: "Delicate", id: 16385 }),
    Field({ name: "Heavy", id: 16386 }),
    Field({ name: "Whites", id: 16387 })
  )
);
MatterDefinition.children.push(LaundryWasherMode);
export {
  LaundryWasherMode
};
//# sourceMappingURL=laundry-washer-mode.element.js.map
