Merge pull request #531 from henrikekblad/FixMQTTPresentation
Fix #449, Fix #507
This commit is contained in:
@@ -146,6 +146,8 @@ bool reconnectMQTT() {
|
||||
#endif
|
||||
)) {
|
||||
debug(PSTR("MQTT connected\n"));
|
||||
if (presentation)
|
||||
presentation();
|
||||
// Once connected, publish an announcement...
|
||||
//_MQTT_client.publish("outTopic","hello world");
|
||||
// ... and resubscribe
|
||||
|
||||
Reference in New Issue
Block a user