add update check for device

This commit is contained in:
John
2022-12-17 19:33:53 +01:00
parent f2fb959135
commit 40f8d2e5a0
2 changed files with 19 additions and 0 deletions
+2
View File
@@ -952,6 +952,8 @@ void MqttHandler::run() {
publishDefinition(m_replacers, "def_global_uptime-", uptimeTopic, "global", "uptime", "def_global-");
publishDefinition(m_replacers, "def_global_updatecheck-", m_globalTopic.get("", "updatecheck"), "global",
"updatecheck", "def_global-");
publishDefinition(m_replacers, "def_global_updatecheck_device-", m_globalTopic.get("", "updatecheck"), "global",
"updatecheck_device", "");
publishDefinition(m_replacers, "def_global_scan-", m_globalTopic.get("", "scan"), "global", "scan",
"def_global-");
}