Skip to content

Commit

Permalink
Update BresserWeatherSensorMQTTWifiMgr.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 9, 2023
1 parent 0e8fe67 commit 2edc1e0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ void loop() {
Serial.printf("%s: %s\n", mqttPubStatus, "offline");
Serial.flush();
client.publish(mqttPubStatus, "offline", true /* retained */, 0 /* qos */);
client.loop();
client.disconnect();
client.loop();
#ifdef LED_EN
Expand Down

0 comments on commit 2edc1e0

Please sign in to comment.