]> git.basschouten.com Git - openhab-addons.git/blob
3c29e8b85089386b7195ace2ce8cca24efab9757
[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.govee.internal;
14
15 import java.util.Set;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * The {@link GoveeBindingConstants} class defines common constants, which are
23  * used across the whole binding.
24  *
25  * @author Connor Petty - Initial contribution
26  */
27 @NonNullByDefault
28 public class GoveeBindingConstants {
29
30     // List of all Thing Type UIDs
31     public static final ThingTypeUID THING_TYPE_HYGROMETER = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID,
32             "goveeHygrometer");
33     public static final ThingTypeUID THING_TYPE_HYGROMETER_MONITOR = new ThingTypeUID(
34             BluetoothBindingConstants.BINDING_ID, "goveeHygrometerMonitor");
35
36     public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = Set.of(THING_TYPE_HYGROMETER,
37             THING_TYPE_HYGROMETER_MONITOR);
38
39     // List of all Channel ids
40     public static final String CHANNEL_ID_BATTERY = "battery";
41     public static final String CHANNEL_ID_TEMPERATURE = "temperature";
42     public static final String CHANNEL_ID_TEMPERATURE_ALARM = "temperatureAlarm";
43     public static final String CHANNEL_ID_HUMIDITY = "humidity";
44     public static final String CHANNEL_ID_HUMIDITY_ALARM = "humidityAlarm";
45 }