Hi David,
Unfortunately a loop is a loop, no matter how it’s programmed.
You could add an additional automation that resets (turns off and then on) the party mode trigger after a set time. This would restart the entire blueprint.
Hi David,
Unfortunately a loop is a loop, no matter how it’s programmed.
You could add an additional automation that resets (turns off and then on) the party mode trigger after a set time. This would restart the entire blueprint.
Hi,
Could you share a screenshot of your configuration?
@AntonH - can you help me ?
Have you updated the Blueprint to the latest version?
There were a lot of bugs fixed with that. You can update it by going to Automations > Blueprints, click the 3 dots and choose re-import blueprint.
If that doesn’t work: have you checked the Automation traces and log?
I have 3.0.0 - in the older version is the surturation color mode not given?`
I have the version 3.0.0.
from the log:
Logger: homeassistant.components.automation.wohnzimmer_partylight
Quelle: helpers/script.py:2032
Integration: Automation (Dokumentation, Probleme)
Erstmals aufgetreten: 16:44:54 (4 Vorkommnisse)
Zuletzt protokolliert: 16:44:54
Wohnzimmer - Partylight: Repeat at step 2: Choose at step 1: choice 2: Repeat at step 1: Error executing script. Error rendering template for variables at pos 1: UndefinedError: None has no element 0
Wohnzimmer - Partylight: Repeat at step 2: Choose at step 1: choice 2: Error executing script. Error rendering template for repeat at pos 1: UndefinedError: None has no element 0
Wohnzimmer - Partylight: Repeat at step 2: Error executing script. Error rendering template for choose at pos 1: UndefinedError: None has no element 0
Wohnzimmer - Partylight: Error executing script. Error rendering template for repeat at pos 2: UndefinedError: None has no element 0
from traces:
what can i do ?
Can you share your configuration? It seems that the template is not receiving the correct input.
you mean this ?
alias: Wohnzimmer - Partylight
description: ""
use_blueprint:
path: Twanne/party_lights.yaml
input:
party_mode_trigger: input_boolean.partylight_wohnzimmer
target_lights:
- light.wohnzimmer_fenster
- light.buero_deckenlampe_color1
- light.buero_deckenlampe_color2
- light.wohnzimmer_lowboard
- light.wohnzimmer_palme
- light.wohnzimmer_buro
- light.hue_lightstrip_plus_1
- light.hue_go_1
- light.hue_go_1_2
- light.wohnzimmer_wandspot_kugel
- light.hue_color_spot_1
time_between_changes:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
transition_time: 1
color_mode: deep
brightness_mode: fixed
fixed_brightness_pct: 100
sync_lights: false
min_brightness_pct: 28
Hi, another noob here, how can I set this to run every day at sunset? I have lights in my lounge that go on at sunset and stay on till 11pm so wanted to cycle through colours every 30 minutes. But not sure how to activate the Party Lights.
Why don’t you create an automation that sets the helper to On at your desired time?
OMG, it’s that easy, how could I not know that THANKS and Happy New Year
Thanks, this helped in figuring it out as I can recreate the issue now.
In short: the saturated color mode gets a value from the light to start working from. If any of the target lights are off at the time the automation is triggered, it gets no value and bugs out.
I’ll get to work on fixing it.
NEW RELEASE
06/01/2025 - Version 3.1
@NordFreak : This should resolve your issues.
It looks good and I think it works now. Now also with devices that are connected to the Hue, but are not original Hue. Thank you very much !
Small note: After the re-import, I still have version 3.0 displayed.
You’re welcome!
I’ve updated the file. If you re-import again it will display the correct version now.
Thanks for letting me know.
yes, now i see 3.1
Could you possibly add a colour mode where it makes like red/blue police lights? cycling between red and blue preferred rather than random. I’d like to set this up for when/if my house alarm triggers!
Not really a ‘party’ vibe, but it should be easily implemented.
I’ve added it to the to-do list.
Appreciate it!
Might be decent at parties, certain vibe, trigger an automation to shut the party down maybe?
I haven’t imported this blueprint but I am wondering if the interval can be 24 hours. This way, when I turn on the light it would be a different random color once every day. I am not sure how this would work if the light is off most of the time but I do turn on the light on occasion.
The interval can indeed be set to 24 hours.
You should also still be able to turn off the light or change it manually because the automation will repeat only once every 24 hours.