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.lametrictime.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link LaMetricTimeBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Gregory Moyer - Initial contribution
25 public class LaMetricTimeBindingConstants {
27 public static final String BINDING_ID = "lametrictime";
29 // Bridge (device) thing
30 public static final ThingTypeUID THING_TYPE_DEVICE = new ThingTypeUID(BINDING_ID, "device");
33 public static final ThingTypeUID THING_TYPE_CLOCK_APP = new ThingTypeUID(BINDING_ID, "clockApp");
34 public static final ThingTypeUID THING_TYPE_COUNTDOWN_APP = new ThingTypeUID(BINDING_ID, "countdownApp");
35 public static final ThingTypeUID THING_TYPE_RADIO_APP = new ThingTypeUID(BINDING_ID, "radioApp");
36 public static final ThingTypeUID THING_TYPE_STOPWATCH_APP = new ThingTypeUID(BINDING_ID, "stopwatchApp");
37 public static final ThingTypeUID THING_TYPE_WEATHER_APP = new ThingTypeUID(BINDING_ID, "weatherApp");
39 // List of all Channel ids
40 public static final String CHANNEL_NOTIFICATIONS_INFO = "info";
41 public static final String CHANNEL_NOTIFICATIONS_WARN = "warning";
42 public static final String CHANNEL_NOTIFICATIONS_ALERT = "alert";
44 public static final String CHANNEL_DISPLAY_BRIGHTNESS = "brightness";
45 public static final String CHANNEL_DISPLAY_BRIGHTNESS_MODE = "brightnessMode";
46 public static final String CHANNEL_AUDIO_VOLUME = "volume";
47 public static final String CHANNEL_BLUETOOTH_ACTIVE = "bluetooth";
48 public static final String CHANNEL_APP = "app";
50 public static final String CHANNEL_APP_COMMAND = "command";
51 public static final String CHANNEL_APP_SET_ALARM = "setAlarm";
52 public static final String CHANNEL_APP_DURATION = "duration";
53 public static final String CHANNEL_APP_CONTROL = "control";
55 // List of non-standard Properties
56 public static final String PROPERTY_ID = "id";
57 public static final String PROPERTY_NAME = "name";
58 public static final String PROPERTY_BT_DISCOVERABLE = "bluetoothDiscoverable";
59 public static final String PROPERTY_BT_AVAILABLE = "bluetoothAvailable";
60 public static final String PROPERTY_BT_PAIRABLE = "bluetoothPairable";
61 public static final String PROPERTY_BT_MAC = "bluetoothMAC";
62 public static final String PROPERTY_BT_NAME = "bluetoothName";