]> git.basschouten.com Git - openhab-addons.git/blob
47e85f9fcf46c4a5720205fcf867a518845c77df
[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.boschshc.internal.devices;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link BoschSHCBindingConstants} class defines common constants, which
20  * are used across the whole binding.
21  *
22  * @author Stefan Kästle - Initial contribution
23  * @author Christian Oeing - added Shutter Control, ThermostatHandler
24  */
25 @NonNullByDefault
26 public class BoschSHCBindingConstants {
27
28     private static final String BINDING_ID = "boschshc";
29
30     // List of all Thing Type UIDs
31     public static final ThingTypeUID THING_TYPE_SHC = new ThingTypeUID(BINDING_ID, "shc");
32
33     public static final ThingTypeUID THING_TYPE_INWALL_SWITCH = new ThingTypeUID(BINDING_ID, "in-wall-switch");
34     public static final ThingTypeUID THING_TYPE_TWINGUARD = new ThingTypeUID(BINDING_ID, "twinguard");
35     public static final ThingTypeUID THING_TYPE_WINDOW_CONTACT = new ThingTypeUID(BINDING_ID, "window-contact");
36     public static final ThingTypeUID THING_TYPE_MOTION_DETECTOR = new ThingTypeUID(BINDING_ID, "motion-detector");
37     public static final ThingTypeUID THING_TYPE_SHUTTER_CONTROL = new ThingTypeUID(BINDING_ID, "shutter-control");
38     public static final ThingTypeUID THING_TYPE_THERMOSTAT = new ThingTypeUID(BINDING_ID, "thermostat");
39     public static final ThingTypeUID THING_TYPE_CLIMATE_CONTROL = new ThingTypeUID(BINDING_ID, "climate-control");
40
41     // List of all Channel IDs
42     // Auto-generated from thing-types.xml via script, don't modify
43     public static final String CHANNEL_POWER_SWITCH = "power-switch";
44     public static final String CHANNEL_TEMPERATURE = "temperature";
45     public static final String CHANNEL_TEMPERATURE_RATING = "temperature-rating";
46     public static final String CHANNEL_HUMIDITY = "humidity";
47     public static final String CHANNEL_HUMIDITY_RATING = "humidity-rating";
48     public static final String CHANNEL_ENERGY_CONSUMPTION = "energy-consumption";
49     public static final String CHANNEL_POWER_CONSUMPTION = "power-consumption";
50     public static final String CHANNEL_PURITY = "purity";
51     public static final String CHANNEL_AIR_DESCRIPTION = "air-description";
52     public static final String CHANNEL_PURITY_RATING = "purity-rating";
53     public static final String CHANNEL_COMBINED_RATING = "combined-rating";
54     public static final String CHANNEL_CONTACT = "contact";
55     public static final String CHANNEL_LATEST_MOTION = "latest-motion";
56     public static final String CHANNEL_LEVEL = "level";
57     public static final String CHANNEL_VALVE_TAPPET_POSITION = "valve-tappet-position";
58     public static final String CHANNEL_SETPOINT_TEMPERATURE = "setpoint-temperature";
59 }