]> git.basschouten.com Git - openhab-addons.git/blob
dd4f0be97619137ea25275c3832b039eb7cfa3d6
[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.mqtt.homie.internal.homie300;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.mqtt.homie.internal.handler.HomieThingHandler;
17
18 /**
19  * The {@link HomieThingHandler} manages Things that are responsible for
20  * Homie MQTT devices.
21  * This class contains the necessary configuration for such a Thing handler.
22  *
23  * @author David Graeff - Initial contribution
24  */
25 @NonNullByDefault
26 public class HandlerConfiguration {
27     /**
28      * The MQTT prefix topic
29      */
30     public String basetopic = "homie";
31     /**
32      * The device id.
33      */
34     public String deviceid = "";
35     /**
36      * Indicates if retained topics should be removed when the Thing is deleted.
37      */
38     public boolean removetopics = false;
39 }