[helioseasycontrols] Fixes heat echanger type (#9274)

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
This commit is contained in:
Bernhard Bauer 2020-12-07 23:43:15 +01:00 committed by GitHub
parent fea317a675
commit 345e30928e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -229,7 +229,7 @@ The binding provides the following properties:
| co2ControlStatus | CO2 control status (0 = off, 1 = stepped, 2 = stepless) |
| vocControlStatus | VOC control status (0 = off, 1 = stepped, 2 = stepless) |
| dateFormat | Date format (0 = dd.mm.yyyy, 1 = mm.dd.yyyy, 2 = yyyy.mm.dd) |
| heatExchangerType | Heat exchanger type (0 = plastic, 1 = aluminium, 2 = enthalpy) |
| heatExchangerType | Heat exchanger type (1 = plastic, 2 = aluminium, 3 = enthalpy) |
| serNo | Serial number |
| prodCode | Production Code |
| vhzType | Pre-heater type (1 = EH-Basis, 2 EH-ERW, 3 = SEWT, 4 = LEWT) |

View File

@ -425,11 +425,11 @@ public class HeliosVariable implements Comparable<HeliosVariable> {
return "Function " + value;
case HeliosEasyControlsBindingConstants.HEAT_EXCHANGER_TYPE:
switch (value) {
case "0":
return "Plastic";
case "1":
return "Aluminium";
return "Plastic";
case "2":
return "Aluminium";
case "3":
return "Enthalpy";
}
throw new HeliosException(this.createErrorMessage(value));