Create an Input Select containing the names of the colors want:
- red
- blue
- green
- white
Then create the following automation:
alias: color changer
trigger:
- platform: state
entity_id:
- sensor.sonoff_bedroomr5
to: button_3_single
condition: []
action:
- service: light.turn_on
data:
color_name: "{{ states('input_select.colors') }}"
brightness_pct: 100
target:
device_id: bedroomled
- service: input_select.select_next
target:
entity_id: input_select.colors
EDIT
Correction. Added missing quote.