From 3156332b93c034c56946eb477ee6ef4abdd62ea6 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Thu, 31 Jan 2019 20:57:17 +0100 Subject: [PATCH] enable the link between OMG status and its components enable to have the link between OMG status and its sensors/gateways on the same place for HASS https://community.openmqttgateway.com/t/v0-9beta-testers-needed/242/2?u=1technophile --- ZmqttDiscovery.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZmqttDiscovery.ino b/ZmqttDiscovery.ino index 6a32060..0755e5d 100644 --- a/ZmqttDiscovery.ino +++ b/ZmqttDiscovery.ino @@ -34,7 +34,7 @@ void pubMqttDiscovery() will_Topic, "connectivity", "", //set availability_topic,device_class,value_template, Gateway_AnnouncementMsg, will_Message, "", //set,payload_on,payload_off,unit_of_meas, false, true, 0, //set optimistic,retain, off_delay - Gateway_AnnouncementMsg, will_Message,false,"" //set,payload_avalaible,payload_not avalaible ,is a child device, command topic, state on, state off + Gateway_AnnouncementMsg, will_Message,true,"" //set,payload_avalaible,payload_not avalaible ,is a child device, command topic, state on, state off ); #ifdef ZsensorBME280