Cycling through all scenes in the area

Hi everyone. I had a similar issue that I fixed creating a custom component.

See my comment in this thread about it: How To Cycle Through Scenes - #30 by 0x3333

Scene Sequencer(GitHub - 0x3333/scene_sequencer: Home Assistant custom component that cycles through a series of scenes sequentially).

Example of automation with it:

alias: TV Room - Switch 1
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.social_tv_switch_1
    from: "off"
    to: "on"
conditions: []
actions:
  - action: scene_sequencer.cycle
    metadata: {}
    data:
      scenes:
        entity_id:
          - scene.tv_all_on
          - scene.tv_afternoon
          - scene.tv_movies
          - scene.tv_all_off
      go_to_last_timeout: 5
mode: single

Best,