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.mynice.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link MyNiceBindingConstants} class defines common constants, which are used across the whole binding.
21 * @author Gaƫl L'hopital - Initial contribution
24 public class MyNiceBindingConstants {
25 private static final String BINDING_ID = "mynice";
27 // List of all Channel ids
28 public static final String DOOR_STATUS = "status";
29 public static final String DOOR_OBSTRUCTED = "obstruct";
30 public static final String DOOR_MOVING = "moving";
31 public static final String DOOR_COMMAND = "command";
32 public static final String DOOR_T4_COMMAND = "t4command";
34 // List of all Thing Type UIDs
35 public static final ThingTypeUID BRIDGE_TYPE_IT4WIFI = new ThingTypeUID(BINDING_ID, "it4wifi");
36 public static final ThingTypeUID THING_TYPE_SWING = new ThingTypeUID(BINDING_ID, "swing");
37 public static final ThingTypeUID THING_TYPE_SLIDING = new ThingTypeUID(BINDING_ID, "sliding");
39 // Configuration element of a portal
40 public static final String DEVICE_ID = "id";
42 public static final String ALLOWED_T4 = "allowedT4";