diff --git a/Config.h b/Config.h index ce568a2..89306c5 100644 --- a/Config.h +++ b/Config.h @@ -1,6 +1,6 @@ #pragma once -#define NUKI_HUB_VERSION "8.25" +#define NUKI_HUB_VERSION "8.26-pre-2" #define MQTT_QOS_LEVEL 1 #define MQTT_CLEAN_SESSIONS false diff --git a/Network.cpp b/Network.cpp index 0e4cbbe..7aa66e3 100644 --- a/Network.cpp +++ b/Network.cpp @@ -1172,7 +1172,7 @@ void Network::publishHassTopic(const String& mqttDeviceType, json["dev"]["mdl"] = deviceType; json["dev"]["name"] = name; json["~"] = baseTopic; - json["name"] = name + String(" " + displayName); + json["name"] = displayName; json["unique_id"] = String(uidString) + uidStringPostfix; if(deviceClass != "") {