diff --git a/Config.h b/Config.h index 24619df2..70b30b32 100644 --- a/Config.h +++ b/Config.h @@ -1,6 +1,6 @@ #pragma once -#define NUKI_HUB_VERSION "8.26" +#define NUKI_HUB_VERSION "8.27-pre-1" #define MQTT_QOS_LEVEL 1 #define MQTT_CLEAN_SESSIONS false diff --git a/Network.cpp b/Network.cpp index 8158e9f1..8bcb0757 100644 --- a/Network.cpp +++ b/Network.cpp @@ -712,7 +712,7 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n json["dev"]["mdl"] = deviceType; json["dev"]["name"] = name; json["~"] = baseTopic; - json["name"] = null; + json["name"] = nullptr; json["unique_id"] = String(uidString) + "_lock"; json["cmd_t"] = String("~") + String(mqtt_topic_lock_action); json["pl_lock"] = lockAction;