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.km200.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link km200Binding} class defines common constants, which are
20 * used across the whole binding.
22 * @author Markus Eckhardt - Initial contribution
25 public class KM200BindingConstants {
27 public static final String BINDING_ID = "km200";
28 public static final String CONFIG_DESCRIPTION_URI_CHANNEL = "channel-type:km200:config";
29 public static final String CONFIG_DESCRIPTION_URI_THING = "thing-type:km200:config";
32 public static final ThingTypeUID THING_TYPE_KMDEVICE = new ThingTypeUID(BINDING_ID, "kmdevice");
34 // List of all Thing Type UIDs
35 public static final ThingTypeUID THING_TYPE_GATEWAY = new ThingTypeUID(BINDING_ID, "gateway");
36 public static final ThingTypeUID THING_TYPE_DHW_CIRCUIT = new ThingTypeUID(BINDING_ID, "dhwCircuit");
37 public static final ThingTypeUID THING_TYPE_HEATING_CIRCUIT = new ThingTypeUID(BINDING_ID, "heatingCircuit");
38 public static final ThingTypeUID THING_TYPE_SOLAR_CIRCUIT = new ThingTypeUID(BINDING_ID, "solarCircuit");
39 public static final ThingTypeUID THING_TYPE_HEAT_SOURCE = new ThingTypeUID(BINDING_ID, "heatSource");
40 public static final ThingTypeUID THING_TYPE_SYSTEM = new ThingTypeUID(BINDING_ID, "system");
41 public static final ThingTypeUID THING_TYPE_SYSTEM_APPLIANCE = new ThingTypeUID(BINDING_ID, "appliance");
42 public static final ThingTypeUID THING_TYPE_SYSTEM_HOLIDAYMODES = new ThingTypeUID(BINDING_ID, "holidayMode");
43 public static final ThingTypeUID THING_TYPE_SYSTEM_SENSOR = new ThingTypeUID(BINDING_ID, "sensor");
44 public static final ThingTypeUID THING_TYPE_NOTIFICATION = new ThingTypeUID(BINDING_ID, "notification");
45 public static final ThingTypeUID THING_TYPE_SWITCH_PROGRAM = new ThingTypeUID(BINDING_ID, "switchProgram");
46 public static final ThingTypeUID THING_TYPE_SYSTEMSTATES = new ThingTypeUID(BINDING_ID, "systemStates");
49 public static final String DATA_TYPE_STRING_VALUE = "stringValue";
50 public static final String DATA_TYPE_FLOAT_VALUE = "floatValue";
51 public static final String DATA_TYPE_SWITCH_PROGRAM = "switchProgram";
52 public static final String DATA_TYPE_ERROR_LIST = "errorList";
53 public static final String DATA_TYPE_Y_RECORDING = "yRecording";
54 public static final String DATA_TYPE_SYSTEM_INFO = "systeminfo";
55 public static final String DATA_TYPE_ARRAY_DATA = "arrayData";
56 public static final String DATA_TYPE_E_MONITORING_LIST = "eMonitoringList";
57 public static final String DATA_TYPE_MODULE_LIST = "moduleList";
58 public static final String DATA_TYPE_REF_ENUM = "refEnum";
59 public static final String DATA_TYPE_PROTECTED = "$$PROTECTED$$";
62 public static final String SWITCH_PROGRAM_REPLACEMENT = "__current__";
63 public static final String SWITCH_PROGRAM_PATH_NAME = "switchPrograms";
64 public static final String SWITCH_PROGRAM_CURRENT_PATH_NAME = "activeSwitchProgram";
65 public static final String SWITCH_PROGRAM_POSITIVE = "activeSwitchProgramPos";
66 public static final String SWITCH_PROGRAM_NEGATIVE = "activeSwitchProgramNeg";