Step through colors with a single button

Yes, since the color wheel is just a single button i created an input_select in the configuration.yaml and made an automation that looks at every button at the remote as a trigger (and use trigger id).
Then whenever the color wheel gets pressed it will go through the premade list with input_select.select_next, just make sure you have the cycle set to true or it will stop at the end.

  - platform: device
    domain: mqtt
    device_id: 78031c81345338e1ceaffb45577761f4
    type: action
    subtype: color_wheel
    discovery_id: 0x00158d0002d51564 action_color_wheel
    id: colorwheel

condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: colorwheel
        sequence:
          - service: light.turn_on
            data:
              entity_id: light.rgbw_esther
              color_name: '{{ states(''input_select.rgb_esther'') }}'
          - service: input_select.select_next
            target:
              entity_id: input_select.rgb_esther
            data:
              cycle: true

This is just the part with the color wheel.
In the configuration:

input_select:
  rgb_esther:
    name: RGB Colors Esther
    options: 
      - red
      - green
      - blue
      - orange
      - yellow
      - purple
      - lime
      - gold

You can add whatever colors you like, or use a different way to call the colors like rgb_color

2 Likes