2 * Copyright (c) 2010-2021 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.mqtt.homeassistant.internal.config.dto;
16 * MQTT topic subscribed to receive availability (online/offline) updates. Must not be used together with
19 * @author Anton Kharuzhy - Initial contribution
21 public class Availability {
22 protected String payload_available = "online";
23 protected String payload_not_available = "offline";
24 protected String topic;
26 public String getPayload_available() {
27 return payload_available;
30 public String getPayload_not_available() {
31 return payload_not_available;
34 public String getTopic() {