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