mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
sensornumbers and mqtt sensor formats
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user