]> git.basschouten.com Git - openhab-addons.git/blob
0714256e256d46ebea515c339d6fb28a794f425d
[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.meteoblue.internal;
14
15 import java.util.Arrays;
16 import java.util.HashSet;
17 import java.util.Set;
18
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * Defines common constants.
23  *
24  * @author Chris Carman - Initial contribution
25  */
26 public class MeteoBlueBindingConstants {
27
28     private static final String BINDING_ID = "meteoblue";
29
30     // List of all Thing Type UIDs
31     public static final ThingTypeUID THING_TYPE_WEATHER = new ThingTypeUID(BINDING_ID, "weather");
32     public static final ThingTypeUID THING_TYPE_BRIDGE = new ThingTypeUID(BINDING_ID, "bridge");
33
34     public static final Set<ThingTypeUID> BRIDGE_THING_TYPES_UIDS = Set.of(THING_TYPE_BRIDGE);
35     public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = new HashSet<>(Arrays.asList(THING_TYPE_WEATHER));
36
37     // Bridge configuration settings
38     public static final String APIKEY = "apiKey";
39 }