]> git.basschouten.com Git - openhab-addons.git/blob
3ded512828785b07d97b07d116774e26d6d720dc
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.tapocontrol.internal.structures;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link TapoBridgeConfiguration} class contains fields mapping bridge configuration parameters.
19  *
20  * @author Christian Wild - Initial contribution
21  */
22
23 @NonNullByDefault
24 public final class TapoBridgeConfiguration {
25     /* THING CONFIGUTATION PROPERTYS */
26     public static final String CONFIG_EMAIL = "username";
27     public static final String CONFIG_PASS = "password";
28     public static final String CONFIG_DISCOVERY_CLOUD = "cloudDiscovery";
29     public static final String CONFIG_DISCOVERY_INTERVAL = "discoveryInterval";
30
31     /* DEFAULT & FIXED CONFIGURATIONS */
32     public static final Integer CONFIG_CLOUD_FIXED_INTERVAL = 1440;
33
34     /* thing configuration parameter. */
35     public String username = "";
36     public String password = "";
37     public boolean cloudDiscovery = false;
38     public int reconnectInterval = CONFIG_CLOUD_FIXED_INTERVAL;
39     public int discoveryInterval = 60;
40 }