Well, here is the best I have: the helper is turned on when the scene is activated, but itâs not disabled when the lights are turned off (using the voice or the dashboard). So the automation only work while the lights arenât turned off manually. If so, the automation never turns on the lights again.
If I use the âEnable the auto OFF for the bypass switchâ, the automation turns off the helper, and the lights (I donât want this, I want to keep the lights on if they were activated by the scene.).
Hi,
What may be the cause of having the very same automation work with a Hue Go but not with a hue TV Gradient Stripe ?
I am just changing the light targeted, works with the Go not with the StripeâŚ
Edit: after reading the docs, it only supports entities as lights and I was using a deviceâŚ
I have tried your suggestion. The script for switching off is running. But if there is a new motion detected while this script is running, the light switches to 100%, but the script keeps running in parallel and turns off the light at the end.
Do you have any idea how I can avoid this behavior? How to cancel the script?
@Blacky thanks for the answer!
I will try your recommendations. However, i have one additional question: When i have created a scene and a toggle helper, shouldnât i⌠like connect those two somehow? like reference the toggle helper in the scene or something else? Or is it enough that i just add both in the same automation, and then the automation knows that the toggle helper is created to help toggle the scene?
The automation will turn ON 3 lights if it is after 8pm and before 10am (at night) and only if the ambient sensor is below 4lx and once ON it will disregard your ambient sensor.
If you have a scene and you turn it ON and you donât want the automation to run / take over then yes use the bypass. In the scene add the bypass to it and turn it ON in the scene. This will disable the automation. You will have to make sure when your turn OFF the scene that you also turn OFF the bypass⌠you could use the auto OFF in the blueprint if that works for you.
No the toggle helper is used for the scene status⌠see scenes have no ON or OFF state and we use the toggle helper for this. It makes the automation run correctly⌠all you need to do is create a toggle helper just for this automation and add it into the input Scenes & Scripts - Toggle Helper. Remember you will have to create an identical scene with everything OFF and enter it into Scenes - Scripts To Turn OFF so you lights turn OFF.
Your lighting experience, your way â take control and customize it to perfection!
New Feature
Dynamic Lighting - You now have 4 new time controlled options. If you live in the far north or south, using sun elevation may not be practical during winter or summer, as daylight hours can be very limited or constant. These new options can help simulate a normal day of artificial lighting, providing a more consistent experience for those without typical daylight patterns. As always, you have full control to customize the settings to your liking.
Bug Fixes
Fixed a bug in Dynamic Lighting cross over from night lights.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
You will have to make sure when your turn OFF the scene that you also turn OFF the bypass⌠you could use the auto OFF in the blueprint if that works for you.
This doesnât resolve the issue, the lights are still automatically turned off after the âbypass delayâ because of the second scenario:
The second scenario occurs when you turn the bypass OFF, the trigger sensor is OFF, and your lights are ON. In both scenarios, the automation will turn your lights OFF after the set time delay.
I donât want the lights to be turned off, at any delay, if they were activated before, because the scene is turned on by the user (higher priority).
Maybe you can add a toggle to enable/disable this behavior and let us define if we want to keep the lights on? May I miss something?
Since the last update of HA core and Z2M my light automations stopped working. It seems this is not a problem with the triggers because that part is executed but regardless of the sensor state it is not turning on the lights. Anyone else experiencing similar issues?
So, basically it was nothing to do with the blueprint. I think last Z2M update renamed the illuminance sensors in my Vallhorn motion sensors from sensor.konyha_motion_2_illuminance_lux to sensor.konyha_motion_2_illuminance and disabled them
First of all thank you for your automation blacky.
Iâve been having a problem with my automation since today. Itâs no longer being triggered even though the sensor is switching from one state to another. Iâm currently in 2025.1 with the latest version of the blueprint. There is my simple automation :
You will have to work out what you would like to do first. Example
What priority would you like and what is your logic. There are so many ways. Once you have your logic then you can wright your script to suit that. Below is an example⌠it is now getting a bit advanced.
What we can do is look at the toggle helper used in the automation Scenes & Scripts - Toggle Helper. The automation will turn this ON and OFF. We then run a loop if this toggle helper is active and we can even turn off the lights once the toggle helper is OFF. Disclaimer: I have not tested any of this just typed it out but this may start you on the correct path once you can see how it can be done. The delay is every 5 seconds but you will need to change this.
Create a new script, edit in YAML and copy and paste this code in. I going to assume you have some knowledge here. The look at it in the visual editor and this will help you make a start. It is not set to do anything correctly so you will have to work out your logic.