]> git.basschouten.com Git - openhab-addons.git/blob
6f495608a4e4cfb58758ef84fcbf68e49a00fa82
[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.helios.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link HeliosBinding} class defines common constants, which are used
20  * across the whole binding.
21  *
22  * @author Karel Goderis - Initial contribution
23  */
24 @NonNullByDefault
25 public class HeliosBindingConstants {
26
27     public static final String BINDING_ID = "helios";
28
29     // List of all Thing Type UIDs
30     public static final ThingTypeUID HELIOS_VARIO_IP_2_7_TYPE = new ThingTypeUID(BINDING_ID, "ipvario27");
31     public static final ThingTypeUID HELIOS_VARIO_IP_2_21_TYPE = new ThingTypeUID(BINDING_ID, "ipvario221");
32
33     // List of all Channel ids
34     public static final String KEY_PRESSED = "keypressed";
35     public static final String KEY_PRESSED_STAMP = "keypressedstamp";
36     public static final String CALL_STATE = "callstate";
37     public static final String CALL_DIRECTION = "calldirection";
38     public static final String CALL_STATE_STAMP = "callstatestamp";
39     public static final String CARD = "card";
40     public static final String CARD_VALID = "cardvalid";
41     public static final String CARD_STAMP = "cardstamp";
42     public static final String CODE = "code";
43     public static final String CODE_VALID = "codevalid";
44     public static final String CODE_STAMP = "codestamp";
45     public static final String DEVICE_STATE = "devicestate";
46     public static final String DEVICE_STATE_STAMP = "devicestamp";
47     public static final String AUDIO_LOOP_TEST = "audiolooptest";
48     public static final String AUDIO_LOOP_TEST_STAMP = "audioloopteststamp";
49     public static final String MOTION = "motion";
50     public static final String MOTION_STAMP = "motionstamp";
51     public static final String NOISE = "noise";
52     public static final String NOISE_STAMP = "noisestamp";
53     public static final String KEY_RELEASED = "keyreleased";
54     public static final String KEY_RELEASED_STAMP = "keyreleasedstamp";
55     public static final String SWITCH_STATE = "switchstate";
56     public static final String SWITCH_STATE_ORIGINATOR = "switchstateoriginator";
57     public static final String SWITCH_STATE_SWITCH = "switchstateswitch";
58     public static final String SWITCH_STATE_STAMP = "switchstatestamp";
59
60     // List of all Channel type ids
61     public static final String SWITCH_ENABLER = "switchenabler";
62     public static final String SWITCH_TRIGGER = "switchtrigger";
63     public static final String IO_TRIGGER = "io";
64
65     // List of all Thing properties
66     public static final String VARIANT = "variant";
67     public static final String SERIAL_NUMBER = "serialNumber";
68     public static final String HW_VERSION = "hardwareVersion";
69     public static final String SW_VERSION = "softwareVersion";
70     public static final String BUILD_TYPE = "buildType";
71     public static final String DEVICE_NAME = "deviceName";
72 }