mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[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>
This commit is contained in:
parent
ca4d332acd
commit
d857fd323a
@ -196,7 +196,7 @@ public class OpenWebNetThermoregulationHandler extends OpenWebNetThingHandler {
|
||||
Thermoregulation.OperationMode new_mode = Thermoregulation.OperationMode
|
||||
.valueOf(currentMode.mode() + "_" + programNumber);
|
||||
logger.debug("handleSetProgramNumber() new mode {}", new_mode);
|
||||
send(Thermoregulation.requestWriteMode(getWhere(""), new_mode, currentFunction,
|
||||
send(Thermoregulation.requestWriteMode(getWhere(deviceWhere.value()), new_mode, currentFunction,
|
||||
currentSetPointTemp));
|
||||
} catch (OWNException e) {
|
||||
logger.warn("handleSetProgramNumber() {}", e.getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user