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
This commit is contained in:
Florian committed 2019-01-31 20:57:17 +01:00
1 parent 238bb4740f
commit 3156332b93
1 file changed
+1 -1
+1 -1
View File
@@ -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