fix ha auto discovery warnings for lock and opener
This commit is contained in:
2
Config.h
2
Config.h
@@ -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
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user