[OTA] Change topic for last update status (#1561)

To avoid conflict with the SYStoMQTT information
This commit is contained in:
Florian authored and GitHub committed 2023-03-21 15:36:15 -05:00
1 parent e1fef642cd
commit b7b3bbb91a
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -617,7 +617,7 @@ void pubMqttDiscovery() {
stateClassNone //State Class
);
createDiscovery("update", //set Type
subjectSYStoMQTT, "SYS: Firmware Update", (char*)getUniqueId("update", "").c_str(), //set state_topic,name,uniqueId
subjectRLStoMQTT, "SYS: Firmware Update", (char*)getUniqueId("update", "").c_str(), //set state_topic,name,uniqueId
will_Topic, "firmware", "", //set availability_topic,device_class,value_template,
LATEST_OR_DEV, "", "", //set,payload_on,payload_off,unit_of_meas,
0, //set off_delay