fix syntax

This commit is contained in:
technyon
2023-09-11 13:21:49 +02:00
parent f99bb61cb7
commit 0b17732f46
2 changed files with 2 additions and 2 deletions

View File

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