]> git.basschouten.com Git - openhab-addons.git/blob
181bc64237a389674a235de64dbfba0faf2ff5a5
[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.bluetooth.blukii;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
17 import org.openhab.core.thing.ThingTypeUID;
18
19 /**
20  * The {@link BlukiiBindingConstants} class defines common constants, which are
21  * used across the whole binding.
22  *
23  * @author Kai Kreuzer - Initial contribution
24  */
25 @NonNullByDefault
26 public class BlukiiBindingConstants {
27
28     // List of all Thing Type UIDs
29     public static final ThingTypeUID THING_TYPE_BEACON = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID,
30             "blukii_beacon");
31
32     public static final String BLUKII_PREFIX = "blukii ";
33
34     // Channel IDs
35     public static final String CHANNEL_ID_BATTERY = "battery";
36     public static final String CHANNEL_ID_TEMPERATURE = "temperature";
37     public static final String CHANNEL_ID_HUMIDITY = "humidity";
38     public static final String CHANNEL_ID_PRESSURE = "pressure";
39     public static final String CHANNEL_ID_LUMINANCE = "luminance";
40
41     public static final String CHANNEL_ID_TILTX = "tiltx";
42     public static final String CHANNEL_ID_TILTY = "tilty";
43     public static final String CHANNEL_ID_TILTZ = "tiltz";
44 }