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
Is your feature request related to a problem? Please describe.
Activating a switch results in a 3 second delay until the change is visible
Describe the solution you'd like
Activating a switch should change the preset (close to) instantly
Additional context
In the switchStateChanged function a setTimeout is present. Is this intentionally set to 3000ms? I reduced it to 10ms manually to test it out and it worked as expected. Couldn't this be removed due to already being in the callback function of the "turn on" command?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Activating a switch results in a 3 second delay until the change is visible
Describe the solution you'd like
Activating a switch should change the preset (close to) instantly
Additional context
In the
switchStateChanged
function a setTimeout is present. Is this intentionally set to 3000ms? I reduced it to 10ms manually to test it out and it worked as expected. Couldn't this be removed due to already being in the callback function of the "turn on" command?The text was updated successfully, but these errors were encountered: