]> git.basschouten.com Git - openhab-addons.git/blob
83e66335b571d5b1a850dff171c9402e4c35d8f6
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.airquality.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link AirQualityBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author GaĆ«l L'hopital - Initial contribution
23  */
24 @NonNullByDefault
25 public class AirQualityBindingConstants {
26
27     private static final String BINDING_ID = "airquality";
28     public static final String LOCAL = "local";
29
30     // List of thing properties
31     public static final String ATTRIBUTIONS = "Attributions";
32     public static final String DISTANCE = "Distance";
33
34     // List of all Channel groups id's
35     public static final String AQI = "aqi";
36     public static final String SENSITIVE = "sensitive-group";
37
38     // List of all Channel id's
39     public static final String INDEX = "index";
40     public static final String VALUE = "value";
41     public static final String ALERT_LEVEL = "alert-level";
42     public static final String TEMPERATURE = "temperature";
43     public static final String PRESSURE = "pressure";
44     public static final String HUMIDITY = "humidity";
45     public static final String DEW_POINT = "dew-point";
46     public static final String WIND_SPEED = "wind-speed";
47     public static final String TIMESTAMP = "timestamp";
48     public static final String DOMINENT = "dominent";
49     public static final String ICON = "icon";
50     public static final String COLOR = "color";
51
52     // Thing Type UIDs
53     public static final ThingTypeUID THING_TYPE_STATION = new ThingTypeUID(BINDING_ID, "station");
54     public static final ThingTypeUID BRIDGE_TYPE_API = new ThingTypeUID(BINDING_ID, "api");
55 }