there is an ikea simple switch dissimulated under the table far activating the cinema scene and disactivate it.
and I want to pause/play with the same button
but I can’t find a way to wait and chose between two trigger
that is not a bad solution.
it still is in two separate automation, but it gave me some idea. :
I do not need to have two different button to start and stop the cine mode
in fact, I realize that its possible that i will want to pause event if I did not start the cine mode so two separate automation is not necessary a bad thing.
I do wish we could group automation together tough. because I will have like 4 automation by button
Consolidating multiple related automations into a single automation sometimes results in a simpler, easier to maintain automation, and sometimes into something more convoluted and complicated.
In this case, it’s possible to create a single automation that handles all button events. However, the automation’s action grows in complexity because now it requires a choose to determine which one of the many button events triggered the automation. In addition, the automation can no longer use a simple condition statement (like the one in koying’s second example) because it would now have to apply to all button events. It may require moving that conditional logic into the choose.
that is a bit what i was going for, but I didn’t found a way to put the " choose to determine which one of the many button events triggered the automation." part in the automation.
thats why I was looking for a choose trigger thing.
the ikea round five button have 2 event by button, that’s 10 automation >< if I have one by action