diff --git a/wled00/mqtt.cpp b/wled00/mqtt.cpp index 76785665..3dd003c4 100644 --- a/wled00/mqtt.cpp +++ b/wled00/mqtt.cpp @@ -132,7 +132,7 @@ void publishMqtt() strcpy(subuf, mqttDeviceTopic); strcat_P(subuf, PSTR("/status")); - mqtt->publish(subuf, 0, false, "online"); // do not retain message + mqtt->publish(subuf, 0, true, "online"); // do not retain message char apires[1024]; XML_response(nullptr, apires);