LOVE this blueprint! Works perfectly. Now to figure out how to have the lights sync to my music.
Just set this up.
I have an issue where stopping the input toggle doesnât seem to do anything, my lights are still flickering away non-stop. Toggling it on and off again still exhibits the same thing. Itâs controlling a Zigbee light group (defined in Z2M), so iâm not sure if thatâs the issue. Turning the light off and on also doesnât seem to help.
How do I stop the lights from flashing?
I assume the input boolean you have to turn on the Party Lights automation works. If so, then it should certainly work to turn the lights off. Have told it what to do when you turn off the input boolean? This is in the âAfter party stateâ section of the automation. There are various options to choose from. I have mine set to âSCENE THEN OFFâ where the scene sets the lights back to their default white state and then turns them off. Perhaps you have that setting set to âNO CHANGEâ as that is what would cause the issue you are seeing.
Iâve had the same isse. In my case the problem was the value set in âTime between changesâ - as soon as set a value that is below 0.5s, it wonât stop looping.
So change this setting to 1s for testing purpose (transition time is set to 0 in my case).
Could you add an option to turn off lights during party mode and then these lamps will turn back to their last state after party mode?
Iâve replied to this on GitHub already.
The way Blueprints are made at the moment you have to define the affected entities before running the automation.
Itâs not possible to exclude or filter out specific entities during the automation, so this feature is currently impossible to create.
After learning a bit more about HA and light attributes I made an update to your script again @AntonH. This one is based off of your newest script and it greatly simplifies the deep color mode I had originally created. On your latest script I still get occasional flashes of white when they are transitioning, but with this new implementation I donât, just nice saturated colors.
@AntonH Nice script, mine however fails after a few seconds due to some Type conversion issue.
Edit: it seems to be caused by a specific IKEA Zigbee light of mine, my other IKEA lights work just fine with this blueprint
Edit: I just put it in itâs own Automation that uses YELLOWS ONLY MODE instead of RANDOM COLOR MODE. This seems to avoid the error.
Thank you for this. My shelly rgbw controller seems to randomly turn on the white at various intensity. I donât see any control for a w variable.
How did you go with this mate? Still keen to impliment some police lights in my automations
NEW RELEASE:
24/07/2025 - Version 3.2
- Added a new light mode: POLICE LIGHTS (switch from red to blue)
â In order for this to work properly, the lights will be synchronized automatically, even if the sync lights setting is turned off. - Made the âTurn off delayâ available for all âTurn offâ states
- Added input sections to simplify the layout and user friendliness
- General corrections to descriptions to improve user friendliness
- General code simplifications
There is no white variable. RGB lights can look white when the saturation of a color is very low (very light colors such as light blue, âŚ).
This is entirely dependent on the color gamut of the light.
Somehow all my lights would not stop changing colours. I defined that they had to return to their original state. But could it be possible that my system has become overloaded?
Eventhough resetting my home assistant and turning off the automation and Bolean, the lights continued changing. What do I have to do?
If they still donât stop changing, I would disconnect the power to them.
Try recreating the issue with one light at a time if you can.
Make sure youâre running at least version 2024.10 of HA.
I am using a shelly rgbw controller. Even though there is no w component defined, i see the the white intensity changing in the shelly and HA interface. My current work around is to not connect the w lead. This is a great blueprint.
Great Blue print. The only problem I have with this is that when I turn off syncrhonize lights, they seem to just change in order. Meaning, the first entity changes then the 2nd then the 3rd and so on. It would be better if it could randomize the order so they all change at the same time but in different colors.
Great blueprint! Strangely enough, my lights only change once, even in âpolice lightsâ mode.
Iâm on the latest HA version. What am i doing wrong?
I have Ikea tradfri full color lights btw
ChatGPT a dit :
Since the Home Assistant 2025.10.x update, the Party Light blueprint has been lagging heavily. The bulbs in police mode are no longer synchronized and freeze regularly.
Can you check your automation traces and share the info if there is anything that stands out?
Iâm running 2025.10 myself and have tested all modes to test your claim, but everything is running fine on my end.
Can you check your automation traces or logs?
