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.broadlinkthermostat.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link BroadlinkBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Florian Mueller - Initial contribution
25 public class BroadlinkBindingConstants {
27 private static final String BINDING_ID = "broadlinkthermostat";
29 // List of all Thing Type UIDs
30 public static final ThingTypeUID FLOUREON_THERMOSTAT_THING_TYPE = new ThingTypeUID(BINDING_ID,
31 "floureonthermostat");
32 public static final ThingTypeUID HYSEN_THERMOSTAT_THING_TYPE = new ThingTypeUID(BINDING_ID, "hysenthermostat");
33 public static final ThingTypeUID RM_UNIVERSAL_REMOTE_THING_TYPE = new ThingTypeUID(BINDING_ID, "rmuniversaldevice");
35 // List of Remote Infrared Channel ids
36 public static final String LEARNING_MODE = "learningmode";
37 public static final String SAVE_LEARNED = "savelearned";
38 public static final String SEND_LEARNED = "sendlearned";
40 // List of Thermostat Channel ids
41 public static final String ROOM_TEMPERATURE = "roomtemperature";
42 public static final String ROOM_TEMPERATURE_EXTERNAL_SENSOR = "roomtemperatureexternalsensor";
43 public static final String SETPOINT = "setpoint";
44 public static final String POWER = "power";
45 public static final String MODE = "mode";
46 public static final String SENSOR = "sensor";
47 public static final String TEMPERATURE_OFFSET = "temperatureoffset";
48 public static final String ACTIVE = "active";
49 public static final String REMOTE_LOCK = "remotelock";
50 public static final String TIME = "time";
53 public static final String HOST = "host";
54 public static final String DESCRIPTION = "description";
56 public static final String MODE_AUTO = "auto";
57 public static final String SENSOR_INTERNAL = "internal";
58 public static final String SENSOR_EXTERNAL = "external";