2 * Copyright (c) 2010-2020 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.sagercaster.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link SagerCasterBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Gaƫl L'hopital - Initial contribution
25 public class SagerCasterBindingConstants {
27 public static final String BINDING_ID = "sagercaster";
28 public static final String LOCAL = "local";
30 // List of all Thing Type UIDs
31 public static final ThingTypeUID THING_TYPE_SAGERCASTER = new ThingTypeUID(BINDING_ID, "sagercaster");
33 // Configuration elements
34 public static final String CONFIG_LOCATION = "location";
35 public static final String CONFIG_PERIOD = "observation-period";
37 // List of all Channel Groups Group Channel ids
38 public static final String GROUP_INPUT = "input";
39 public static final String GROUP_OUTPUT = "output";
42 public static final String CHANNEL_FORECAST = "forecast";
43 public static final String CHANNEL_VELOCITY = "velocity";
44 public static final String CHANNEL_VELOCITY_BEAUFORT = "velocity-beaufort";
45 public static final String CHANNEL_WINDFROM = "wind-from";
46 public static final String CHANNEL_WINDTO = "wind-to";
47 public static final String CHANNEL_WINDEVOLUTION = "wind-evolution";
48 public static final String CHANNEL_PRESSURETREND = "pressure-trend";
49 public static final String CHANNEL_TEMPERATURETREND = "temperature-trend";
51 public static final String CHANNEL_CLOUDINESS = "cloudiness";
52 public static final String CHANNEL_IS_RAINING = "is-raining";
53 public static final String CHANNEL_RAIN_QTTY = "rain-qtty";
54 public static final String CHANNEL_WIND_SPEED = "wind-speed-beaufort";
55 public static final String CHANNEL_TEMPERATURE = "temperature";
56 public static final String CHANNEL_PRESSURE = "pressure";
57 public static final String CHANNEL_WIND_ANGLE = "wind-angle";