Using events state for when the button is on. Using this method I can also do ‘mode’ switching and more.
Press, double press, hold 1s, hold 5s, button sequence (unlimited length).
Still working on the sequence one as wifi is causing some latency issues.