2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.max.internal.device;
15 import org.openhab.core.types.Command;
16 import org.openhab.core.types.PrimitiveType;
17 import org.openhab.core.types.State;
20 * This enumeration represents the different mode types of a MAX! heating thermostat.
22 * @author Andreas Heil - Initial contribution
23 * @author Marcel Verpaalen - OH2 update
25 public enum ThermostatModeType implements PrimitiveType, State, Command {
32 public String format(String pattern) {
33 return String.format(pattern, this.toString());
37 public String toFullString() {