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

Long press trigger triggers both short and long actions. #616

Open
powermarcel10 opened this issue Sep 26, 2024 · 1 comment
Open

Long press trigger triggers both short and long actions. #616

powermarcel10 opened this issue Sep 26, 2024 · 1 comment
Labels

Comments

@powermarcel10
Copy link

Hi Johan,

I found a strange behavior for the Hue dimmer switches. (all models)

The long press trigger for all buttons triggers also the actions that is set to be triggered with a short press.

So by example:

Short dim up will set the lights in my bedroom +10%.
Long dim up is set to let my smart fan spin 10% harder.

The short button action is working fine. But with the long press option it triggers both. That should not happen right?

It was discussed in te forum a while a go. Here a link

The solution for now is to work with the release button events. So one for a short release and one for a long release. This is working but not really ituitive.

Thanks for your work! If you need me fore some testing, please let me know.

Best regards,
Marcel

@JohanBendz
Copy link
Owner

Hi @powermarcel10.
Ooops, I'll have a look at that.

@JohanBendz JohanBendz added the bug label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants