"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var water_heater_mode_element_exports = {};
__export(water_heater_mode_element_exports, {
  WaterHeaterMode: () => WaterHeaterMode
});
module.exports = __toCommonJS(water_heater_mode_element_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const WaterHeaterMode = (0, import_elements.ClusterElement)(
  { name: "WaterHeaterMode", id: 158, type: "ModeBase", classification: "application" },
  (0, import_elements.AttributeElement)({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 1 }),
  (0, import_elements.AttributeElement)(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    (0, import_elements.FieldElement)({ name: "DEPONOFF", conformance: "X", constraint: "0", title: "OnOff" })
  ),
  (0, import_elements.AttributeElement)({ name: "SupportedModes", id: 0 }),
  (0, import_elements.AttributeElement)({ name: "CurrentMode", id: 1 }),
  (0, import_elements.AttributeElement)({ name: "StartUpMode", id: 2, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "OnMode", id: 3, conformance: "X" }),
  (0, import_elements.DatatypeElement)({ name: "ModeOptionStruct", type: "ModeOptionStruct" }),
  (0, import_elements.DatatypeElement)(
    { name: "ModeTag", type: "enum16" },
    (0, import_elements.FieldElement)({ name: "Auto", id: 0 }),
    (0, import_elements.FieldElement)({ name: "Quick", id: 1 }),
    (0, import_elements.FieldElement)({ name: "Quiet", id: 2 }),
    (0, import_elements.FieldElement)({ name: "LowNoise", id: 3 }),
    (0, import_elements.FieldElement)({ name: "LowEnergy", id: 4 }),
    (0, import_elements.FieldElement)({ name: "Vacation", id: 5 }),
    (0, import_elements.FieldElement)({ name: "Min", id: 6 }),
    (0, import_elements.FieldElement)({ name: "Max", id: 7 }),
    (0, import_elements.FieldElement)({ name: "Night", id: 8 }),
    (0, import_elements.FieldElement)({ name: "Day", id: 9 }),
    (0, import_elements.FieldElement)({ name: "Off", id: 16384 }),
    (0, import_elements.FieldElement)({ name: "Manual", id: 16385 }),
    (0, import_elements.FieldElement)({ name: "Timed", id: 16386 })
  )
);
import_MatterDefinition.MatterDefinition.children.push(WaterHeaterMode);
//# sourceMappingURL=water-heater-mode.element.js.map
