I've a Remote with Two Buttons (on & off).
Some Scenes are defined for an Area: Scene A, Scene B, Scene C
When pushing "On": If Lights are off, Scene A should be activated. Next Push should activate Scene B, next: Scene C, next: Scene A, next Scene B ...
When pushing "Off": If lights are turned on, turn them off. (Optional: If lights are off, Scene C should be Activated.)
How could this be achieved? (I did not found anything close)