[openwebnet] Backward support for CU configurations with where="0" (updated) (#15251)
* [openwebnet] Backward support for CU configurations with where="0" * [openwebnet] fix send in handleSetProgramNumber() --------- Signed-off-by: Massimo Valla <mvcode00@gmail.com>pull/15259/head
parent
ca4d332acd
commit
d857fd323a
|
@ -196,7 +196,7 @@ public class OpenWebNetThermoregulationHandler extends OpenWebNetThingHandler {
|
||||||
Thermoregulation.OperationMode new_mode = Thermoregulation.OperationMode
|
Thermoregulation.OperationMode new_mode = Thermoregulation.OperationMode
|
||||||
.valueOf(currentMode.mode() + "_" + programNumber);
|
.valueOf(currentMode.mode() + "_" + programNumber);
|
||||||
logger.debug("handleSetProgramNumber() new mode {}", new_mode);
|
logger.debug("handleSetProgramNumber() new mode {}", new_mode);
|
||||||
send(Thermoregulation.requestWriteMode(getWhere(""), new_mode, currentFunction,
|
send(Thermoregulation.requestWriteMode(getWhere(deviceWhere.value()), new_mode, currentFunction,
|
||||||
currentSetPointTemp));
|
currentSetPointTemp));
|
||||||
} catch (OWNException e) {
|
} catch (OWNException e) {
|
||||||
logger.warn("handleSetProgramNumber() {}", e.getMessage());
|
logger.warn("handleSetProgramNumber() {}", e.getMessage());
|
||||||
|
|
Loading…
Reference in New Issue