I have writen an automation that uses a helper drop down to change the color of a light.
- conditions:
- condition: trigger
id:
- 4press
sequence:
- data:
cycle: true
target:
entity_id: input_select.rgb_colour
action: input_select.select_next
- delay:
milliseconds: 100
- data:
rgb_color: "{{ states('input_select.rgb_colour').split(',') }}"
target:
entity_id: light.hue_color_lamp_3
action: light.turn_on
Couple observations. When I press and release the hue button, the colour changes. The change is not what I expect it to be. In some cases, it looks like the change is skipping ahead 2 positions on my list. Other times looks like the colour has just changed to a random value. There are times when the colour RGB has changed a little like 147,200,80 being set to 146,206,64. This is not that big a deal, but when 147,200,80 is being set to 65,8,255 that is no good.
Any idea why this might be happening?
Greg