Skip to content

Commit

Permalink
Update BresserWeatherSensorMQTTCustom.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 9, 2023
1 parent 8b2ef45 commit 0e8fe67
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,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 0e8fe67

Please sign in to comment.