]> git.basschouten.com Git - openhab-addons.git/blob
34bbd4a6252466b19b837b1fb8450693540ca79e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.venstarthermostat.internal;
14
15 import java.util.Collections;
16 import java.util.Set;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * The {@link VenstarThermostatBinding} class defines common constants, which are
23  * used across the whole binding.
24  *
25  * @author William Welliver - Initial contribution
26  */
27 @NonNullByDefault
28 public class VenstarThermostatBindingConstants {
29
30     public static final String BINDING_ID = "venstarthermostat";
31
32     // List of all Thing Type UIDs
33     public final static ThingTypeUID THING_TYPE_COLOR_TOUCH = new ThingTypeUID(BINDING_ID, "colorTouchThermostat");
34
35     public final static Set<ThingTypeUID> SUPPORTED_THING_TYPES = Collections.singleton(THING_TYPE_COLOR_TOUCH);
36     // List of all Channel ids
37     public final static String CHANNEL_TEMPERATURE = "temperature";
38     public final static String CHANNEL_HUMIDITY = "humidity";
39     public final static String CHANNEL_EXTERNAL_TEMPERATURE = "outdoorTemperature";
40
41     public final static String CHANNEL_HEATING_SETPOINT = "heatingSetpoint";
42     public final static String CHANNEL_COOLING_SETPOINT = "coolingSetpoint";
43     public final static String CHANNEL_SYSTEM_STATE = "systemState";
44     public final static String CHANNEL_SYSTEM_MODE = "systemMode";
45     public final static String CHANNEL_SYSTEM_STATE_RAW = "systemStateRaw";
46     public final static String CHANNEL_SYSTEM_MODE_RAW = "systemModeRaw";
47
48     public final static String CONFIG_USERNAME = "username";
49     public final static String CONFIG_PASSWORD = "password";
50     public final static String CONFIG_REFRESH = "refresh";
51
52     public final static String PROPERTY_URL = "url";
53     public final static String PROPERTY_UUID = "uuid";
54
55     public final static String REFRESH_INVALID = "refresh-invalid";
56     public final static String EMPTY_INVALID = "empty-invalid";
57 }