zBernie
(Bernie)
October 11, 2025, 4:56pm
1
I just started an automation called Halloween Effects. I created a virtual switch to trigger it. I’m trying to change the garage light bulb colors from orange for 10 seconds, then purple for 10 seconds. So I copied and pasted the orange change, and just changed the second color to purple. But when I run it the bulbs I only see purple, I never see the orange.
I think I’m on the right track but what am I missing?
-Thanks
Sir_Goodenough
((SG) WhatAreWeFixing.Today)
October 11, 2025, 5:12pm
2
Hello Bernie
This will be much easier to troubleshoot if you click on the right and copy the YAML here for us. Paste it here using this: You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix formatting from the site FAQ Page.
How to help us help you - or How to ask a good question .
zBernie
(Bernie)
October 11, 2025, 5:30pm
3
Here is the YAML:
alias: Halloween Effects
description: ""
triggers:
- trigger: state
entity_id:
- input_boolean.halloween_switch
from: "off"
to: "on"
conditions: []
actions:
- action: light.turn_on
metadata: {}
data:
rgb_color:
- 240
- 193
- 112
transition: 10
target:
device_id:
- e085850df40edb4693f31f0d1017b539
- fc316b0ddb7a86504d4b67e672f218ff
- action: light.turn_on
metadata: {}
data:
rgb_color:
- 206
- 112
- 240
transition: 10
target:
device_id:
- e085850df40edb4693f31f0d1017b539
- fc316b0ddb7a86504d4b67e672f218ff
mode: single
zBernie:
Here is the YAML
That’s not yaml if it’s not formatted correctly like you were advised to do in the post just above yours.
Anyway, I see your issue. The automation doesn’t care about your transition & fires the orange command immediately followed by the purple command.
Just add a delay of 10s between your 2 actions and your issue should be fixed.
zBernie
(Bernie)
October 11, 2025, 6:19pm
5
Oh! Formatted the YAML. And thanks for the delay info, I’ll give it a try.