Automation to use a switch to cycle through input select

I have a Friends of Hue switch I want to use to cycle through an input_select I have

I am trying to create the automation but clearly do not grasp what I am doing enough.

I want the automation to be triggered by pressing button3 but do I also not want the trigger to be related to the input select so that pressing the button moves the input select to next?

This is my input select:

      
input_select:
  dining_room_switch_top_right:
    name: Sidetable_Scenes
    options:
      - Sloth Light
      - Fairy Lights
      - Both Lights
      - All Off
    initial: Sloth Light
    icon: mdi:lightbulb-on-outline

How do I do an automation (using the wizard ideally) to use

Ok, got that.

No idea what you mean by this though.

What event does pressing your button generate?

Trigger on that.

To move to the next input select option use this action:

- service: input_select.select_next
  target:
    entity_id: input_select.dining_room_switch_top_right

It will cycle back to the first option after the last option by default. See https://www.home-assistant.io/integrations/input_select/#service-input_selectselect_next

1 Like

I have this so far but think writing it rather than using the wizard may be better?