From 33051682e8dd0dbbbf2718c3d28374cc0dc6bfd3 Mon Sep 17 00:00:00 2001 From: technyon Date: Tue, 15 Aug 2023 20:29:24 +0200 Subject: [PATCH] fix ha auto discovery warnings for lock and opener --- Config.h | 2 +- Network.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Config.h b/Config.h index 89306c5..85d8905 100644 --- a/Config.h +++ b/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 diff --git a/Network.cpp b/Network.cpp index 7aa66e3..7958b71 100644 --- a/Network.cpp +++ b/Network.cpp @@ -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";