apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
59 stars 26 forks source link

Temperature change requires two tries #81

Closed dualtronic closed 6 months ago

dualtronic commented 8 months ago

Using the standard UI thermostat, the temperature change button does not change the setpoint unless you exit the thermostat, open the thermostat again, and then click the temperature change button for the second time. Only then will the actual temperature setpoint be updated.

apetrycki commented 8 months ago

I can't replicate this problem. Sometimes it takes a while for the thermostat/API to update, maybe that's what you're experiencing. Nothing I can really do about that since any update pulls from the API and the API only updates once the thermostat has changed. Ex. if you set the thermostat from 74 to 75, the integration sends the command, but then it polls the API for the current setting and gets the old 74 back. It may take until another update to get the actual 75. I've done some mitigations in the code to delay the update, but it doesn't always work.

dualtronic commented 8 months ago

Okay. Thanks for looking into it.