nested publish for mixing, nofrosttemp, designtemp, roominfluence

This commit is contained in:
MichaelDvP
2020-10-11 15:46:22 +02:00
parent 97c948b623
commit 1ff5c9f9db
23 changed files with 137 additions and 56 deletions

View File

@@ -594,7 +594,7 @@ bool Boiler::export_values(JsonObject & output) {
}
// publish values via MQTT
void Boiler::publish_values() {
void Boiler::publish_values(JsonObject & data) {
// must make sure this doesn't exist 1000. Currently (2.1.0) its 950b.
// otheerwise use DynamicJsonDocument with max size and use .shrinkToFit()
StaticJsonDocument<1024> doc;