You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the thermostat modal changes are debounced in the gui. You make a change and the new values is displayed in red font. After 3 seconds the value color changes to black and the write-function is called.
In the number gui every change is written immediately and for every change (e.g. target temperature change +1.5 C° with 0.5 steps) the write function is called. So the write function is called for one change 3 times! And race conditions between the different write calls and reads can occur.
So it would make sense to debounce the changes when entering the number just like with the thermostat.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In the thermostat modal changes are debounced in the gui. You make a change and the new values is displayed in red font. After 3 seconds the value color changes to black and the write-function is called.
In the number gui every change is written immediately and for every change (e.g. target temperature change +1.5 C° with 0.5 steps) the write function is called. So the write function is called for one change 3 times! And race conditions between the different write calls and reads can occur.
So it would make sense to debounce the changes when entering the number just like with the thermostat.
Beta Was this translation helpful? Give feedback.
All reactions