Closed hvbargen closed 1 year ago
@xaviergriffon Regarding the how-to-set question: It seems that the 6 hours is hard-wired in coordinator.py line 254:
veto = QuickVeto(6, target_temp)
Can we make this configurable somehow?
Good test! There is a unit conflict between Multimatic and Senso. For Senso, the unit is in hours. We will have to adapt the controls according to the application.
For the default duration parameter, I think it should be set in the configuration as for the number of minutes between refreshes.
Yeah, that sounds reasonable.
I pushed a correction on my branch. You need to re-download the addon and after restarting, check the commit.
In multimatic:
In senso:
On my SensoComfort, the default duration is 3h.
Note: I am using VR921 and Xavier Griffons PR.
If I rotate the temperature wheel in the HA UI, this works: I can see in the SensoComfort that the target temperature is changed per quick veto for 6 hours.
How can I configure this duration?
BTW If I try to call the service set_quick_veto manually, this results in an error message:
Unexpected error for call_service at pos 1: Cannot put https://smart.vaillant.com/mobile/api/v4/facilities/.../systemcontrol/tli/v1/zones/Control_ZO1/configuration/quick_veto, status: 400, response: {"errorCode":"INVALID_PARAMS"},payload: {'temperature_setpoint': 22.0, 'duration': 60.0}