ioBroker.iqontrol
ioBroker.iqontrol copied to clipboard
iQontrolHomematicIpThermostat doesn't set the control mode correctly
Describe the bug
Switching from manual to automatic control mode does not work.
To Reproduce
With a HmIP-WTH-2 which has the role iQontrolHomematicIpThermostat:
- Go to extended dialog
- Switch from the default automatic mode to manual (which works)
- Switch from manual mode back to automatic (this does not work and it also tries to trigger boost)
Expected behavior
Switching back to manual mode should work.
Screenshots & Logfiles
n/a
Versions:
- Adapter version: 2.0.0
- Chrome: 105
Workaround
In index.js change:
Line 9784
var value = $("input[name='DialogThermostatControlModeCheckboxradio']:checked").val();
to
var value = parseInt($("input[name='DialogThermostatControlModeCheckboxradio']:checked").val());
and
Line 9799
var setValue = setValues[index] || true;
to
var setValue = setValues[index]
if (setValue === undefined) setValue = true
(Not sure if the workaround covers all cases, I just tried for my specific case which does not include boost for example.)