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

@@ -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";