sensornumbers and mqtt sensor formats

This commit is contained in:
MichaelDvP
2020-10-18 09:44:32 +02:00
parent ffbe41a634
commit 6ca0e45767
8 changed files with 128 additions and 97 deletions

View File

@@ -256,11 +256,11 @@ bool Boiler::export_values(JsonObject & output) {
// Warm Water comfort setting
if (Helpers::hasValue(wWComfort_)) {
if (wWComfort_ == 0x00) {
output["wWComfort"] = "Hot";
output["wWComfort"] = F("Hot");
} else if (wWComfort_ == 0xD8) {
output["wWComfort"] = "Eco";
output["wWComfort"] = F("Eco");
} else if (wWComfort_ == 0xEC) {
output["wWComfort"] = "Intelligent";
output["wWComfort"] = F("Intelligent");
}
}
@@ -319,7 +319,7 @@ bool Boiler::export_values(JsonObject & output) {
// Warm Water charging type
if (Helpers::hasValue(wWChargeType_, EMS_VALUE_BOOL)) {
output["wWChargeType"] = wWChargeType_ ? F("3way valve") : F("charge pump");
output["wWChargeType"] = wWChargeType_ ? F("3way_valve") : F("chargepump");
}
// Warm Water circulation pump available bool