disable retain for command mesages
This commit is contained in:
parent
333fc93a9f
commit
ee87deb2d0
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user