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.meteoblue.internal;
15 import java.util.Arrays;
16 import java.util.HashSet;
19 import org.openhab.core.thing.ThingTypeUID;
22 * Defines common constants.
24 * @author Chris Carman - Initial contribution
26 public class MeteoBlueBindingConstants {
28 private static final String BINDING_ID = "meteoblue";
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");
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));
37 // Bridge configuration settings
38 public static final String APIKEY = "apiKey";