Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preset delay #18

Open
FeBe95 opened this issue Mar 10, 2019 · 0 comments
Open

Preset delay #18

FeBe95 opened this issue Mar 10, 2019 · 0 comments

Comments

@FeBe95
Copy link

FeBe95 commented Mar 10, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant