Hello,
I have this little automation.
First ID flickers one of the lights.
Second ID (should) turn on the rgb light.
Third ID loops random rgb colors.
But the second one doesnt work. It doesnt turn on the light.I can see that i says triggered. I can manually turn on the light. When i Run that portion of the automation from the 3 dots light gets on. and when i remove the second ID and run it as an individual Automation it runs. I might be doing something wrong with ID’s but i have no idea.
I get an Warning in the logs that says “11PMTEST: Already running”
And in Trace timeline “Stopped because only a single execution is allowed at February 4, 2024 at 2:10:01 PM (runtime: 0.00 seconds)”
Thanks in advance.
alias: 11PMTEST
description: ""
trigger:
- platform: time
at: "13:54:00"
id: ToggleLight
- platform: time
at: "13:54:01"
id: RgbOn
- platform: time
at: "13:54:02"
id: RgbRandom
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- ToggleLight
sequence:
- repeat:
sequence:
- service: light.toggle
metadata: {}
data: {}
target:
entity_id: light.kus_isik
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 200
count: 6
- conditions:
- condition: trigger
id:
- RgbOn
sequence:
- service: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.rgb_light
- conditions:
- condition: trigger
id:
- RgbRandom
sequence:
- repeat:
sequence:
- service: light.turn_on
target:
entity_id: light.rgb_light
data:
rgb_color:
- "{{ range(0, 256)|random }}"
- "{{ range(0, 256)|random }}"
- "{{ range(0, 256)|random }}"
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
while:
- condition: state
entity_id: light.rgb_light
state: "on"
mode: single