diff --git a/gateway/include/ha.h b/gateway/include/ha.h index 570621c..61515cc 100644 --- a/gateway/include/ha.h +++ b/gateway/include/ha.h @@ -162,7 +162,7 @@ namespace Ha { Command::buildConfig(jsonDoc); jsonDoc["name"] = nullptr; jsonDoc["device_class"] = "outlet"; - jsonDoc["retain"] = true; + // jsonDoc["retain"] = true; if (stateTopic[0]) jsonDoc["state_topic"] = stateTopic; }