/**
 * @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 WaterHeaterMode = Cluster(
  { name: "WaterHeaterMode", id: 158, type: "ModeBase", classification: "application" },
  Attribute({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 1 }),
  Attribute(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    Field({ name: "DEPONOFF", conformance: "X", constraint: "0", title: "OnOff" })
  ),
  Attribute({ name: "SupportedModes", id: 0 }),
  Attribute({ name: "CurrentMode", id: 1 }),
  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: "Off", id: 16384 }),
    Field({ name: "Manual", id: 16385 }),
    Field({ name: "Timed", id: 16386 })
  )
);
MatterDefinition.children.push(WaterHeaterMode);
export {
  WaterHeaterMode
};
//# sourceMappingURL=water-heater-mode.element.js.map
