This blueprint by-pass requires a state change from ON to OFF. If you have buttons then first you will need to create a by-pass using a helper. On how to do this see our FAQ Click Here.
Once you have created the by-pass helper you will need to add it into the blueprint.
Then you can install my Push Button Relay - Contactor blueprint. You will then use this blueprint so you can use your button to toggle the by-pass switch . It is easy and simple with this blueprint and I am sure you will get more use out of it with other things you will need to control.
Through out the year we all like to have lights for special event like Halloween, Christmas, New Year, Sporting Days, Easter, Parties, etc. This is all possible now using this blueprint Sensor Light along side with my new blueprint Calendar Notifications & Actions. This was one of the main reasons I created âCalendar Notifications & Actionsâ with all the upgrade of by-passes in the sensor light blueprint.
Now you can create calendar events to automaticity turn ON and OFF by-passes so you can switch your lighting automations to accommodate for your special events lighting needs.
How To Set Up - Special Calendar Event Lighting
Because we are getting close to Halloween of the time of this post we will use this event as an example on how you can achieve this. But you can replace Halloween lights with any other special event you may have.
First we need to create a by-passes and a template binary sensor trigger. You can call them anything you like. See our FAQ: Click Here on how to create a helper by-pass.
Halloween By-pass - This will be used in my normal everyday lighting automations and will be linked to the binary template sensor so they will toggle together.
Now the âHalloween By-passâ will toggle the âHalloween Triggerâ ON and OFF at the same time.
Create all the automations using this Sensor Light blueprint and adding your âHalloween Triggerâ in. You can have more than one automation for your âHalloween Lightsâ as they all will be activated and deactivated all at the same time. Set the time delay to â0â.
Then in all your normal automations that you would like to disable when Halloween lights are ON enter in your âHalloween By-passâ as shown above in step 1.
Now we need to create the calendar event. Enter in all your Halloween calendar events for when you would like the Halloween lights ON. Example of one day below but you could have 2 weeks of Halloween lights so you would enter in an event for each day you would like the Halloween lights ON. Notice in the description we have used a key word â@halloweenlightsâ. More information on this is in the Calendar Notifications & Actions post.
Now using the Calendar Notifications & Actions blueprint we need to create an automation. Enter in the trigger in for the calendar event. You can see the keyword is entered in.
Now when the calendar start event fires it will disable your normal everyday lights turning them OFF and turning ON you Halloween Lights automations.
At the end of the calendar event we need to reset your lights back to normal lights again. To do this we need to enable the end auto action and add an action. In the action we will call service / and turn OFF the âHalloween By-passâ.
Now when the calendar end event fires it will disable your Halloween Lights automations and turn them OFF and turn ON you normal everyday lights. You are now back to normal.
Hope you like this new feature and create some nice Special Calendar Event Lighting.
Hey there, sorry I am new to this blueprint thingy. I just press the button above and hit preview on the blueprint import. Then Iâm getting the following error
Invalid blueprint: extra keys not allowed @ data['blueprint']['input']['ambient_light_sensor']['selector']['filter']. Got None extra keys not allowed @ data['blueprint']['input']['end_scenes']['selector']['filter']. Got None extra keys not allowed @ data['blueprint']['input']['motion_trigger']['selector']['filter']. Got None extra keys not allowed @ data['blueprint']['input']['people']['selector']['filter']. Got None extra keys not allowed @ data['blueprint']['input']['zone']['selector']['filter']. Got None
Looks like your are on a older version of Home Assistant. In the last update we removed the âDEPRECATEDâ code so the blueprint will continue to work into the future. Please update your HA and let us know how you go.
Hi,
Just wondering if this excellent blueprint can be used in any shape or form to handle one or more normal dimmable Smart Switches, as well as a shelly dimmable 2.
In this case, the smart switches are having power to them, and the lamp is connected to the shelly.
I presume I need to create a helper group light, and put them all there?
I can turn the lights on or off fine, but the dimmable can only be done via shelly. When I press the smart switch dimmer then the HA light switch attached to this one shows the dimmer goes up or down, but it is not connected to the lamp.
I put this question also in the forum
Thanks in advance for any and all replies, and or hint/tips/solutions
Cheers
Yes you just add in all your lights and âUse brightnessâ and set your brightness level. It must be a âlightâ entity for this to work. I use Shelly dimmers and they work perfectly. There is a flicker with the Shelly dimmers and I am waiting fro them to fix it and release a new dimmers as the current dimmers are out of date.
Finally got round to it, works perfectly so thankyou.
Think I need to sort an integration that can trigger lights based on weather and sun level as sometimes it gets quite dim when the weather is bad. Not a fault of the integration by the way.
Itâs a shame nobody makes a cheap ZigBee battery ambient light sensor!
But when I add this binary sensor to my dashboard with an entity card, it never changes state. Always Off. Even if the testlight entity is displaying correctly the light state.
It do feel a bit overkill using this blueprint, when I only (at this stage) want to enable wall light switches, and the shelly dimmer, and hook them together so it is seamless whichever one of them you use to turn on/off the light, as well as dim the light.
correct the binary sensor will do nothing⌠not sure what your trying to doâŚ
The Shelly 2 dimmer will work with a light switch and you can turn the light ON and OFF. The automation will do this and take over control, so if your turn it ON manually and the automation gets triggered then it will run as per your settings and turn the lights OFF. You will have control of the dim level. If you wire everything up and normal and add the blueprint automation then it will work like this.
If you would like to manually control your lights, then you would need an independent switch connected to the by-pass and you would use âBy-pass Switch - Turn lights ONâ.
The reason I tried to get a binary sensor is that the blueprint requires a binary sensor to start the light.
So no need to group the wall switches and the shelly with this blueprint?
And how about the Link the On/Off state of the Switch and Shelly?
Currently I do not have any binary sensors to activate the light.
I only have
1-2 Smart Switch with build in dimmer. I will replace the normal wall light switches and dimmer with this one.
1 Shelly dimmer 2, and this one I will put in the roof cavity.
Tried to use the By-Pass turn lights on, but it still required a binary sensor to activate the lights to start with.
oâh, and Iâm located in Australia, which might explain why things are perhaps upside down for meâŚ
This blueprint is used when you have a binary sensor that triggers the automation. I am not sure why you are using it if you just have dimmer switches. You can use a schedule or a time of day helper that will trigger the automation and I have a few lights that do that, ON at sunset and OFF at 11:00 pm. If you would like information on this then Click Here. The most typical binary sensor that would be used as the trigger is a motion or presence binary sensor.
Just a quick heads up to everyone. If you are also using my Bathroom Humidity Exhaust Fan blueprint I have recently updated it with an automation link option. This allow you to link this blueprint to it so the lights will say on in your bathroom when having a shower
I just wanted to check a use case that I have.
I am using the blueprint with an ON bypass which I have mapped to a switch, and also an ambient light sensor.
It turns out, when I turn on the bypass switch, the lights are still OFF as the blueprint stops where it checks the ambient light.
I was expecting the lights to turn on since the switch was assigned as an ON bypass, expected the bypass to be irregardless of the ambient light conditions. Is this the correct assumption?
Hi Samuel, hope all is well in your part of the world
No problem at all⌠and again thanks for your kind words
This is perfect , and in reading this I can already see the problem in my head. The good news is if I am correct it is a easy fix . I am just trying to push out a new update for my âBathroom Exhaust Fan Blueprintâ and once done I will fix this.
Thanks for reaching out and providing an easy bug report⌠legend
Hello everyone and thank you again for this blueprint. However, I faced a small problem. I would like to check that a boolean is in the true state in order to activate the blueprint. How can I do ? Isn't it possible to improve the blueprint with input_boolean choices to turn on. Can anyone help me? THANKS