This means the existing physical switch is useless and I need another one which is what I am trying to avoid. Or I got it wrong?
If it was a regular automation, I would put the door sensor to triggers and the light!=on to conditions. But the blueprint does not allow conditions and HA does not allow conditions on top of blueprints.
I cannot really as there the condition applies to both when the light is off and on. If I use the light state there, the blueprint stops when the light goes on.
Iâm relative new to Home Assistant and added the Sensor Light Blue Print and created a basic automation to turn on lights if a motion is detected. Iâm using a Fibaro Motion sensor via Z-Wave and used Motion detection entity. When I look to the entity the status is changing however the automation is never been fired.
Does something special need to be configured for the Blueprint to start working ?
Thanks in advance for any replies !
If that doesnât resolve it then could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on â</>â and paste code in there.
Hey @Blacky
I have an issue with Bypass tried everything if i add something in bypass my automation stops working i just canât figure it out why it does stop there if i have anything in bypass⌠even if the bypass should be off beacuse toggle used is off
I have tested your yaml and it all works. Note you are using an âAutomationâ for your bypass so it will be the toggle for the automation (enable / disable). The other thing to note is you are using the same automation as the bypass for option 1 & 2. You canât do that as there is a conflict because when you turn ON the bypass what should it do?.. turn ON or turn OFF the lights⌠it cant do both.
You log show the automation enabled and not disabled. Try checking it again making sure the automation is disabled and remove one automation entity from option 1 or option 2. If there is no entities in the bypass when you remove one make sure you disable it including the auto OFF.
Also note you have a scene in âScenes - Scripts To Turn OFFâ but you are using a light entity. You can have a scene there as it may be turning on a scene but I thought I would just ask / point that out.
You are using an area in âLights - Switches - Scenes - Scriptsâ. You canât do that as it only works with entities. You will need to expand it down to entities (all green not orange or blue).
Hey @Blacky i did the changes Yeah the bypass for options 1 & 2 was a stupid mistake from my side but still, i donât think there is anything wrong with the config below funny part is that if i comment all the bypass things it will work
maybe I donât understand what bypass does because what I want to achieve is pretty simple pause the automation for letâs say 20minutes keep the light on and after 20 minutes resume the automation I could do it outside of the blueprint but I think thatâs what the bypass is for, still I donât understand why it isnât working at all motion is detected ofc there is less lx than I set the minimum nothing happens if I press the button Iâm lost here is a full tracklog maybe you will see something https://pastebin.com/wjUXg287
I have checked it here again replacing your trigger, light and the bypass with an automation. All worked perfectly.
So lets look at a few things.
We know the light is good.
We know using an automation works, as long as you are toggling it ON and OFF (Enable / Disable).
The trigger⌠the automation needs this trigger to work. Lets look at this. Can you create a toggle helper and add the toggle helper as the trigger only so copy the toggle helper ID go into the YAML and replace your âbinary_sensor.senorruchukorytarz2_occupancyâ id with the toggle helper ID and click save. You should only have the toggle helper in the trigger. Now test it again. If it works then we need to look at your âbinary_sensor.senorruchukorytarz2_occupancyâ.
If that still doesnât work then put back your âbinary_sensor.senorruchukorytarz2_occupancyâ removing the toggle helper and then use the toggle helper in the bypass. Toggle it ON and see what happens, toggle it OFF and see what happens. You may want to reduce both the bypass minutes to â0.1â for speed of testing.
Your lighting experience, your way â take control and customize it to perfection!
In this update, we focused exclusively on dynamic lighting bugs. Below are the changes we have made. Hope you like it
DYNAMIC LIGHTING UPDATE
New Input Option
Dynamic Lighting - Toggle Helper: If you have chosen a brightness level of 0%, then itâs essential to create an independent toggle helper and enter into dynamic lighting. This toggle helper can also address issues if the automation doesnât behave as expected due to the occasional unavailability of light entities. While it may not always be necessary, if youâre open to creating toggle helpers, itâs highly recommended to utilize this option to ensure proper functionality of the automation.
Bugs Fixed
Fixed bugs in option 8.
Fixed bugs when using options 1, 2, 4, 5, 6, 7 or 8 and setting a brightness level of 0%. Dynamic lighting would stop and not come back ON. There is now a new toggle helper that is required when setting a a brightness level of 0%.
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
When you set up dynamic lighting with a brightness level of 0%, the light will turn off. Dynamic lighting relies on the state of the lights being âONâ to function correctly. If the lights are not detected as âON,â dynamic lighting stops, which is not desired. By using a toggle helper, dynamic lighting will monitor the toggle helperâs state instead, ensuring it continues to run. This is why the toggle helper is necessary only when setting a brightness level of 0%. Toggle helpers in Home Assistant are reliable and donât get lost on the network. If a light drops off momentarily when dynamic lighting checks the state, it can cause dynamic lighting to stop. Using a toggle helper ensures consistent functionality without relying on network connections.
Thatâs a pretty cool change. Thanks again so much Blacky. I had my minimum light brightness go down to 10% under Dynamic Lighting - Min Brightness Value. I am using option 4. Is there a benefit to lowering that to zero and adding the toggle helper?
I would urge everyone here to make a small donation. The support for this popular blueprint is second to none. Please support Blacky at:
And Blacky, I see they finally created the ability to collapse Blueprint sections. that will be great for Sensor Light as it has so much packed into it. I assume that we will have that new version soon after 2024.6 is released.
No, it will change the way DL works, and that might not be what youâre looking for. If you set it to 0%, then your light will/can turn OFF. Setting it at 10% means that it will be the lowest brightness value the light will have when your trigger is activated.
Because you have set it to 10%, you donât need to use the toggle helper for DL to work. I have written the code this way so you donât have to add a toggle helper, and it wonât break what you had before updating the BP.
If you have chosen to use a brightness value of 0% because you want the light to turn OFF, you must use a toggle helper for DL to work correctly.
I am fully aware of this. This is why we love Home Assistant: they listen to us . When I say âus,â I mean the whole community. Once the new HA is released, I will implement it here. I will then go through it in detail, test it, and report any bugs to HA. This could take some time if we find any bugs. A big shout-out to @karwosts for developing this THANKS!
I prefer to wait and allow everyone time to update their HA, as it will break the Blueprint if you are not on the latest version of Home Assistant. We want to avoid that if we can, trying to be responsible. Hopefully, when it is released, it will be a smooth transition for all and a pleasant experience.
Thanks Blacky ! I changed it to a specific light and that worked out ! I thought it was only applicable for the trigger to be an entitiy and not for the target
@Blacky I donât know what to say i went fresh and deleted all the automation that Iâve made from blueprint imported 6.8 and it just worked⌠something somewhere was not happy about the setup Thank you keep up the amazing work