/**
 * @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,
  DatatypeElement as Datatype,
  FieldElement as Field
} from "../../elements/index.js";
const DishwasherAlarm = Cluster(
  { name: "DishwasherAlarm", id: 93, type: "AlarmBase", classification: "application" },
  Attribute({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 1 }),
  Datatype(
    { name: "AlarmBitmap", type: "map32" },
    Field({ name: "InflowError", constraint: "0" }),
    Field({ name: "DrainError", constraint: "1" }),
    Field({ name: "DoorError", constraint: "2" }),
    Field({ name: "TempTooLow", constraint: "3" }),
    Field({ name: "TempTooHigh", constraint: "4" }),
    Field({ name: "WaterLevelError", constraint: "5" })
  )
);
MatterDefinition.children.push(DishwasherAlarm);
export {
  DishwasherAlarm
};
//# sourceMappingURL=dishwasher-alarm.element.js.map
