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.sleepiq.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link SleepIQBinding} class defines common constants, which are
20 * used across the whole binding.
22 * @author Gregory Moyer - Initial contribution
25 public class SleepIQBindingConstants {
26 public static final String BINDING_ID = "sleepiq";
28 // List of all Thing Type UIDs
31 public static final ThingTypeUID THING_TYPE_CLOUD = new ThingTypeUID(BINDING_ID, "cloud");
33 // generic thing types
34 // public static final ThingTypeUID THING_TYPE_SINGLE_BED = new ThingTypeUID(BINDING_ID, "singleBed");
35 public static final ThingTypeUID THING_TYPE_DUAL_BED = new ThingTypeUID(BINDING_ID, "dualBed");
37 // List of all Channel ids
38 // public static final String CHANNEL_BED_IN_BED = "bed#inBed";
39 public static final String CHANNEL_LEFT_IN_BED = "left#inBed";
40 public static final String CHANNEL_RIGHT_IN_BED = "right#inBed";
42 // public static final String CHANNEL_BED_SLEEP_NUMBER = "bed#sleepNumber";
43 public static final String CHANNEL_LEFT_SLEEP_NUMBER = "left#sleepNumber";
44 public static final String CHANNEL_RIGHT_SLEEP_NUMBER = "right#sleepNumber";
46 // public static final String CHANNEL_BED_PRESSURE = "bed#pressure";
47 public static final String CHANNEL_LEFT_PRESSURE = "left#pressure";
48 public static final String CHANNEL_RIGHT_PRESSURE = "right#pressure";
50 // public static final String CHANNEL_BED_LAST_LINK = "bed#lastLink";
51 public static final String CHANNEL_LEFT_LAST_LINK = "left#lastLink";
52 public static final String CHANNEL_RIGHT_LAST_LINK = "right#lastLink";
54 // public static final String CHANNEL_BED_ALERT_ID = "bed#alertId";
55 public static final String CHANNEL_LEFT_ALERT_ID = "left#alertId";
56 public static final String CHANNEL_RIGHT_ALERT_ID = "right#alertId";
58 // public static final String CHANNEL_BED_ALERT_DETAILED_MESSAGE = "bed#alertDetailedMessage";
59 public static final String CHANNEL_LEFT_ALERT_DETAILED_MESSAGE = "left#alertDetailedMessage";
60 public static final String CHANNEL_RIGHT_ALERT_DETAILED_MESSAGE = "right#alertDetailedMessage";
62 // List of non-standard Properties
63 public static final String PROPERTY_BASE = "base";
64 public static final String PROPERTY_KIDS_BED = "kidsBed";
65 public static final String PROPERTY_MAC_ADDRESS = "macAddress";
66 public static final String PROPERTY_NAME = "name";
67 public static final String PROPERTY_PURCHASE_DATE = "purchaseDate";
68 public static final String PROPERTY_SIZE = "size";
69 public static final String PROPERTY_SKU = "sku";
71 private SleepIQBindingConstants() {