Skip to content

Create dimmer button with "Held for 1000ms actions" #2749

Closed Answered by Julusian
Lulu2409 asked this question in Q&A
Discussion options

You must be logged in to vote

I think you are on the right track, but the held for 1000ms actions will only be executed the once, so after 1s it will be decreasing the value by 10 and then stop.
Instead, I would suggest using a set value (or set complex value) action in the held for 1000ms actions group. If you give a value for fade time then it will slowly change to the new value you specify.

It sounds like you want it to then stop fading at whatever point it got to when the button is released, which you could do by adding a second delayed group release after 1001ms, which does an offset value with a value change of 0. This will replace the currently running fade inside the module with a new 'fade' which does nothing…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lulu2409
Comment options

Answer selected by Julusian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants