disable retain for command mesages
This commit is contained in:
parent
1ecd5bbdc6
commit
af5be1190a
@ -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