diff --git a/gateway/include/ha.h b/gateway/include/ha.h index 6a56af9..e37bbaa 100644 --- a/gateway/include/ha.h +++ b/gateway/include/ha.h @@ -219,7 +219,6 @@ namespace Ha { void buildConfig(JsonDocument& jsonDoc) override { Command::buildConfig(jsonDoc); - jsonDoc["name"] = nullptr; // jsonDoc["retain"] = true; if (stateTopic[0]) jsonDoc["state_topic"] = stateTopic; }