Well, you always have to make a choice, and this double function with OnPress and OnHoldStart is also a fun thing for guests
Now that I get what to do with the OnClick etc button triggers, I would like to fully understand the syntax for relay/power states as triggers. My goal is to use the first button for controlling the first relay onclick but to do something else on hold. I managed to make button1 toggle relay1 but since the LED of the button is decoupled from the button and the relay, the LED does not light up when the relay is on, so this is what I want to achieve.
In my case, the LED that should turn on when the relay is on is power4 (pin14), the first relay is power1 (pin6). I thought it could be as easy as something like "addeventhandler poweron 14 power4 on" but just guessing the trigger and syntax for this wasn't yet successful

Then I saw addchangehandler, which might need to be used here instead, but I do not really understand the syntax. How could I make the first LED switch on when the relay is turned on?