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

Expose long push as stateless button in momentary mode #1166

Closed
AlexDavidenko opened this issue Dec 23, 2022 · 2 comments
Closed

Expose long push as stateless button in momentary mode #1166

AlexDavidenko opened this issue Dec 23, 2022 · 2 comments

Comments

@AlexDavidenko
Copy link

Use case:
By default in momentary mode the long push starts a timer, which is rarely used.
When using detached mode but the short press still controls the actual relay the short push action takes a long time to perform because of the whole shortcuts logic.

Instead I suggest having an option to either start a timer (default) or expose the long push action as a stateless button with single press only.
If you need the whole single press, double press, long push you can still use detached mode.

If exposing long push only in momentary mode you're enjoying both worlds, the relay will trigger faster and you still have long push as a stateless button to control other accessories.

@timoschilling
Copy link
Collaborator

I think you mean something like this #1011

@AlexDavidenko
Copy link
Author

yeah, perfect. Thanks

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

2 participants