Scene toggle single input


I am trying to create an automation where a single button push (in this instance MQQT input from Shelly) toggles through various scenes from 1-4.

For example, press once and it selects scene 1, press 2 and it selects scene 2 and so on.

Any ideas?


I’m looking exactly same thing, but I suspect this task is too trivial for experience users so they don’t bother to answer. So we must start invent bicycle by ourselves.