disable retain for command mesages

This commit is contained in:
Nicu Hodos 2024-05-14 08:05:08 +02:00
parent 333fc93a9f
commit ee87deb2d0

View File

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