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.bluetooth.govee.internal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
19 import org.openhab.core.thing.ThingTypeUID;
22 * The {@link GoveeBindingConstants} class defines common constants, which are
23 * used across the whole binding.
25 * @author Connor Petty - Initial contribution
28 public class GoveeBindingConstants {
30 // List of all Thing Type UIDs
31 public static final ThingTypeUID THING_TYPE_HYGROMETER = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID,
33 public static final ThingTypeUID THING_TYPE_HYGROMETER_MONITOR = new ThingTypeUID(
34 BluetoothBindingConstants.BINDING_ID, "goveeHygrometerMonitor");
36 public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = Set.of(THING_TYPE_HYGROMETER,
37 THING_TYPE_HYGROMETER_MONITOR);
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";