]> git.basschouten.com Git - openhab-addons.git/blob
ac54cf611277f7f024401821144af183af8e71e7
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.broadlinkthermostat.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link BroadlinkBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Florian Mueller - Initial contribution
23  */
24 @NonNullByDefault
25 public class BroadlinkBindingConstants {
26
27     private static final String BINDING_ID = "broadlinkthermostat";
28
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");
34
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";
39
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";
51
52     // Config properties
53     public static final String HOST = "host";
54     public static final String DESCRIPTION = "description";
55
56     public static final String MODE_AUTO = "auto";
57     public static final String SENSOR_INTERNAL = "internal";
58     public static final String SENSOR_EXTERNAL = "external";
59 }