]> git.basschouten.com Git - openhab-addons.git/blob
75572883031a803306b9b53aec008be9a23c9c1e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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 HeliosBindingConstants} 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_21_TYPE = new ThingTypeUID(BINDING_ID, "ipvario221");
31
32     // List of all Channel ids
33     public static final String KEY_PRESSED = "keypressed";
34     public static final String KEY_PRESSED_STAMP = "keypressedstamp";
35     public static final String CALL_STATE = "callstate";
36     public static final String CALL_DIRECTION = "calldirection";
37     public static final String CALL_STATE_STAMP = "callstatestamp";
38     public static final String CARD = "card";
39     public static final String CARD_VALID = "cardvalid";
40     public static final String CARD_STAMP = "cardstamp";
41     public static final String CODE = "code";
42     public static final String CODE_VALID = "codevalid";
43     public static final String CODE_STAMP = "codestamp";
44     public static final String DEVICE_STATE = "devicestate";
45     public static final String DEVICE_STATE_STAMP = "devicestamp";
46     public static final String AUDIO_LOOP_TEST = "audiolooptest";
47     public static final String AUDIO_LOOP_TEST_STAMP = "audioloopteststamp";
48     public static final String MOTION = "motion";
49     public static final String MOTION_STAMP = "motionstamp";
50     public static final String NOISE = "noise";
51     public static final String NOISE_STAMP = "noisestamp";
52     public static final String KEY_RELEASED = "keyreleased";
53     public static final String KEY_RELEASED_STAMP = "keyreleasedstamp";
54     public static final String SWITCH_STATE = "switchstate";
55     public static final String SWITCH_STATE_ORIGINATOR = "switchstateoriginator";
56     public static final String SWITCH_STATE_SWITCH = "switchstateswitch";
57     public static final String SWITCH_STATE_STAMP = "switchstatestamp";
58
59     // List of all Channel type ids
60     public static final String SWITCH_ENABLER = "switchenabler";
61     public static final String SWITCH_TRIGGER = "switchtrigger";
62     public static final String IO_TRIGGER = "io";
63
64     // List of all Thing properties
65     public static final String VARIANT = "variant";
66     public static final String SERIAL_NUMBER = "serialNumber";
67     public static final String HW_VERSION = "hardwareVersion";
68     public static final String SW_VERSION = "softwareVersion";
69     public static final String BUILD_TYPE = "buildType";
70     public static final String DEVICE_NAME = "deviceName";
71 }