Hello hello. I seem to be very confused with things.
Maybe someone can point me to a tutorial on this?
I have some ikea and Aqara buttons. I press or double press them and they do things
I want to add that button to my dashboard
One button runs a lot of things. Setting all lights off. Turning off speakers then it waits 1min and sets cctv to away mode.
Why is it so hard to just add a button for this?
I don’t want to make the ikea button trigger but I want the UI to have the equivalent of that button. Does that sort of thing exist?
I did try setting one to trigger a scene? But that misses out the timer and the other actions
I haven’t done much with delays and sequences, but you can use a button in the UI to call a script or automation. In that script, you can set scenes with scripts and apply a conditional sequence with delays or other inputs like occupancy to determine where to perform certain actions.
Below I have used the GUI to write a script:
The Icon on the button will show that it is running while waiting for the delay to finish. Pressing it more than once should follow the Mode behavior set in the script. I have mine configured to single, so it should not do nothing to restart the script and perhaps generate a warning in a log that that a script was called while it is already active.