fix ha auto discovery warnings for lock and opener

This commit is contained in:
technyon
2023-08-15 20:29:24 +02:00
parent 34ca593190
commit 33051682e8
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#define NUKI_HUB_VERSION "8.26-pre-2"
#define NUKI_HUB_VERSION "8.27"
#define MQTT_QOS_LEVEL 1
#define MQTT_CLEAN_SESSIONS false

View File

@@ -710,7 +710,6 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n
ids.add(String("nuki_") + uidString);
json["dev"]["mf"] = "Nuki";
json["dev"]["mdl"] = deviceType;
json["dev"]["name"] = name;
json["~"] = baseTopic;
json["name"] = name;
json["unique_id"] = String(uidString) + "_lock";