I am not fully understanding what you are trying to do.
This blueprint can handle motion lights, ambient lights on sun, deactivate lights at night so it is all probably there already just need to set it up correctly. Maybe explain it better and maybe provide your automation YAML so I can see your settings.
Just now getting back to this. From my reading of your configuration I donât believe this is possible.
For the Inovelli switch the button is firing events such as double_up, triple_up, double_config etc. I want to be able to say press config twice and have it by pass your automation from turning the lights off. I think to do this the only way would be if I created a dummy switch and I had a automation that sets that dummy switch to on/off when double_config is pressed.
This would mean I would have to create a dummy switch per real switch I have. Or am I missing something else?
Fantastic work on this blueprint Blacky, and all the other ones you have! They really make automations so easy for people like me who are new to HA.
I do have a quick question about how one would use the Device Tracker setting. If I donât want my automation to be triggered when no one is home, do I just set Device Tracker section to Enable Zone and select the Home zone?
Yes, you can do this, but it depends on your Home Assistant setup. First, ensure your devices are tracked within your designated zone. This means that when youâre home, the status reads âhome,â and when youâre away, it reads âaway.â
If you have devices that only toggle between âhomeâ and âaway,â you can use the âEnable the zone optionâ and set your desired zone. However, if you have additional devices like iPads or dog trackers that also report as home, it could interfere with your automation.
For example, if you have dog trackers that always report as home, your automation might mistakenly keep the lights on because it detects the dog trackers are home. To address this, you can use the âEnable the zone + people options.â This way, you can specify the zone and the individuals whose presence you want to monitor in the zone.
With this setup, the automation will only consider the people you add to âDevice Tracker - People.â When these specified people are not home, your lights will be disabled.
Then you can create another automation to track your dogsâ movements and notify you if they leave the zone.
That is why we have the option for âDevice Tracker - Peopleâ.
Your lighting experience, your way â take control and customize it to perfection!
Hi all,
A lot of work has gone into this update, and weâve finally added RGB to light control! While itâs not a breaking change, some adjustments are needed to ensure your automations functions as intended (see below). A big thank you to everyone who has supported me in the past! If you havenât yet supported my work, I hope youâll consider doing so Click Here I have more updates planned, so stay tuned.
Let us know what you think.
Enjoy
Blacky
If youâre using âColour Temperatureâ in light control, please read the information below before updating the blueprint. While this is not a breaking change, maintaining clean code will ensure the smooth operation of this blueprint.
LIGHT CONTROL UPDATE
New Input Option
Light Colour: You now have the option to select RGB, RGBW or RGBWW in your light control option.
Bugs Fixed
Fixed bugs when using dynamic lighting and transition from normal lights to night lights and vice versa.
STEPS REQUIRED WHEN UPGRADING
If youâre using âColour Temperatureâ in light control, please read the information below before updating the blueprint. If you are not using âColour Temperatureâ in light control, then there is no need to read any further and you can update without doing anything.
Before Updating Steps
If youâre reading this and havenât updated yet, follow these simple steps to ensure the smooth operation of this blueprint:
Navigate to Settings > Automation > Filters (top right) > Blueprints and select this sensor light blueprint. You will see a list of automations that use this blueprint.
For each automation, deselect âColour Temperatureâ for both normal lights and night lights. Record which automations had âColour Temperatureâ deselected and whether it was for normal lights, night lights, or both.
Update the blueprint.
Repeat step 1, then reselect âColour Temperatureâ for normal lights and night lights in each automation where you previously deselected it.
Once all automations are updated, youâre done!
If You Have Already Updated Steps
If you have already pushed the update button, donât stressâjust follow the steps below.
Navigate to Settings > Automation > Filters (top right) > Blueprints and select this sensor light blueprint. You will see a list of automations that use this blueprint.
For each automation, click the three dots in the top right and select âEdit in YAMLâ. Look for the following lines of code, which indicate if you selected to use âColour Temperatureâ:
Under "include_light_control:", look for "- use_colour_temperature".
Under "include_night_light_control:", look for "- use_colour_temperature".
If these lines are present, record where you have selected to âUse Colour Temperatureâ. Delete these lines of code as shown below, then click save.
Next, select the three dots again and choose âEdit in visual editorâ. Reselect âColour Temperatureâ for normal lights and night lights in each automation where you previously deleted the code, then click save.
Repeat the above steps for each automation until all are updated. Youâre all done!
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
Hi, thank you for your outstanding work!
Iâve got a question regarding bypasses. Is it possible that after disabling a bypass, options like âAmbientâ are evaluated? Currently, I believe that is not the case. I have a simple on off light connected with this blueprint with the ambient option turned on (so it only is on if the lux value is below a certain value). I have a switch that, if on, enables bypass ON for the light. When I turn the switch off (turn off bypass) the light remains on until no presence is detected even if the lux value is above the threshold.
Any Ideas regarding this?
On a different note, it would be beneficial if one can select like an âinvertâ option for the bypass inputs, so one does not need to create a helper entity that inverts a binary sensor (example bypass if door closed â contact is off).
Lastly, can we choose light settings light brightness if Bypass - Turn lights ON is enabled? Or is it than checking the dynamic or ambient options (would be best if not)?
That makes sense! Thank you for the clarification and quick reply Blacky! Excited to try out the new update.
One other thing - I also have an ikea remote to toggle the same lights that are triggered by the motion sensor. I assume if I manually turn the lights on with this remote, it wonât auto off after the pre-determined time from this blueprint. Is a solution to use your âmanual light control with auto offâ blueprint?
Edit: should have tested before asking, this worked well! I have the lights turn on by motion sensor automation in the evening and during day time if itâs turned on with the manual switch the manual automation will/should take care of it
Fantastic update. Your instructions for existing automations was dead on. Now 3 night light sections?? Confused me initially.
For everyone who wants to see this development continue, please make a donation. Blacky spends huge time on this. If you sort by comments under the Blueprints section, you will see that Sensor Light is number one on the list. Thatâs because Blacky provides amazing support.
So, Im looking to use this to track the suns position to increase the brightness of my living room lights as the sunsets. And possibly turn on the bedroom to a low level after a certain time (tbc)
I have it all installed, and set up but it turns on the selected lights for 1 second before turning them off. Does anyone have a set up guide / video to show me where im going wrong?
Thanks, I have verified that it works. I have another switch that I could key off of, but itâs an inverse of what you need for the bypass on/off vs off/on.
I could manually create a helper using a template for each of these, but if you had a flag that could be flipped for the bypass to bypass on an off instead of an on it would prevent me from having to create a helper per switch. I understand this may be a niche use-case and something you donât want to add just let me know.
To be specific I use Adaptive Lighting plugin to control my lights and use your blueprint for the motion sensing. I would like to be able to use adaptive lighting enabled to be my bypass. So when itâs off I would like to bypass hence the negation I would need.
I have tested it here and it seems to be working. The one thing I think it could be without seeing your YAML is you have selected âYES - My Ambient Light Sensor is affected by the Lightsâ. Because of this it just thinks because your light is ON it is effecting the LUX sensor.
Could you confirm this is the case and if your are still having problems 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.
A few people have asked for this so I will put your name next to the request. For now we will need to create a template sensor to invert your door sensor. I am always open to change.
When your bypass is turned ON and it turns ON the lights it will apply the setting you have in the light control. Depending on the time you turn it ON and if you are using night lights it will apply ether normal lights or night lights settings.
No problem. I am excited to bring you this new feature. Hope you like it. I am finding I am getting a nicer white light when using RGBW and just using the white channel. I mean no one else in the family has noticed but I like it
The you would use night lights and the time condition, then set up your lights in night lights as required.
Next to a lot of inputs you have a link that can help guide you. I would say that a time delay is â0â or if you are using dynamic lighting you have set your âDynamic Lighting - Min Brightness Valueâ to â0â.
Have a look at the FAQ and âThe Settings & Best Practice Guidelinesâ. The links are in the blueprint at the top. If you still need more help 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.
Also just give me what is happening and what you are trying to do so I can help.
I never say never and love hearing any suggestions as this promotes development. A few people have asked for this so I will also add your name next to the feature request. For now we will need to create a template binary sensor helper that will invert it.
To create a Template binary sensor, follow these steps:
Navigate to Settings > Device & Services > Helpers tab at the top.
Click the Create helper button.
Select Template and then choose Template a binary sensor.
Next, provide a Name and Device class of your choice. If applicable, you can link this template to an existing device so it appears under that deviceâs details.
In the State template field, add the code below, replacing binary_sensor.your_sensor_here with your entity ID.
Thanks Harry, hope you like the new update. Yea I forgot to say that in the update notes. We had to do this as it was getting a lot of information just in one clapable section but tryed to follow the same format we have for normal lights.
Thank you once again, Harry, for your ongoing support through your donations. Community support for my work has been minimal and barely covers two days of my time. Nonetheless, I am extremely grateful for any support the community provides. If my blueprints and support help you, please consider donating; it would greatly assist me in continuing to provide updates and community support.
Could anyone please help me understand what I am doing wrong here? I cannot get the blueprint to trigger a light based on a motion sensor. I am able to use another blueprint with the same entities and the motion sensor triggers the light without an issue.
Here is a screenshot of my automation. Any assistance is much appreciated
Yeah, you need to expand the light Device youâve entered and choose the Entity. The lights to turn on/off have to be entities. The BP only allows you to enter Areas & Devices as a quick way to get to the Entities.
Hi @Blacky - Iâm guessing the ability to use the physical load switch as a bypass wasnât in your 7.0 release as I couldnât see it in the notes - unless Iâm losing the plot!
Iâm happy to test a pre-release of this in my environment if that helps?
We will move it to this blueprint post to stay on track as it relates to it.
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.