New update 4.7
Some work is required in this upgrade. Please see below on the steps required when upgrading. It is easy and not a breaking change.
MULTIPLE BY-PASS UPGRADE
In our update to version 4.5 we added the ability to have multiple by-pass switches. Example, by-pass for;
- All light Automations
- Party Mode
- Guest Mode
- Night Time
- Sleep Mode
- Movie Mode
- Upstairs Lights
- Downstairs Lights
- Bedroom Lights
- Smoke Alarm
- Alarm System
- Kitchen Lights
- Outside Lights
It allowed multiple by-passes but you could only select one enable option and each by-pass could require to preform a different action.
In this update you can now add multiple by-pass switches for each of the 3 different by-pass enable options
- Enable the By-pass - Turn lights ON
- Enable the By-pass - Turn lights OFF
- Enable the By-pass - Keep the lights current state
Now you can created multiple by-passes with different actions. Example, by-pass for;
- All light Automations = ON & OFF
- Party Mode = ON
- Guest Mode = Pause
- Night Time = OFF
- Sleep Mode = OFF
- Movie Mode = OFF
- Upstairs Lights = ON & OFF
- Downstairs Lights = ON & OFF
- Bedroom Lights = OFF
- Smoke Alarm = ON
- Alarm System = ON
- Kitchen Lights = ON & OFF
- Outside Lights = ON & OFF
Hopefully it will help assist you on how you control your lights.
Example Use Case: Say it is a windy night and your outside lights keep going ON. You can now have a by-pass that is for “All Outside - Lights OFF” and add this bypass into every outside light automation. Then you can turn ON one by-pass switch and all your outside light will go OFF and stay OFF (disabling every automation). What happens if you hear something outside you could have a by-pass “All Outside - Lights ON” and add this bypass into every outside light automation. I think you get the idea behind it. There are so many scenarios that you can do.
We are also getting ready for more to come in the road map ahead
BLUEPRINT CODE UPDATE
Just a heads up if your still on a old HA version before you update.
From time to time Home Assistant update their code structure and the old code will become “DEPRECATED” stopping / breaking automations from working. It effected this blueprint about 4 to 6 months ago. I wanted to wait some time so everyone had a chance to update their HA version before updating the code as older HA versions can not run the new code. This blueprint has now been updated so it will still operate once HA remove the “DEPRECATED” code from their system.
- Fixed bugs in HA restart.
STEPS REQUIRED WHEN UPGRADING
If you have never selected to use a by-pass then most likely you won’t need to do anything but you may want to check just encase you have selected by-pass in the past.
1 - Upgrade your blueprint.
2 - Go into your automation (the ones using this blueprint). Click the 3 dots top right and “Edit in YAML”. We are looking for orange text “include_bypass”, “motion_bypass” & “include_bypass_auto_off”. If you don’t see this then your all good to go and have never selected the by-pass. If you see this then read on.
3 - Take note of the code so you can remember what by-passes were used in the automation. We then are going to completely remove the orange text including the black input text for “include_bypass”, “motion_bypass” & “include_bypass_auto_off” as shown below.
4 - Then click 3 dots and select “Edit in visual editor”
5 - You will then have a clean input selection for your by-passes. Update / add the by-passes into the correct corresponding inputs.
6 - Click save, you’re done. Now just do the same in your other automations using this blueprint.
If you would like to easily find all the automation that are using this blueprint so you can check your YAML. Go into blueprints and click on the 3 dots next to the sensor light blueprint and select “show automations using this blueprint” You then can easily edit them all. See below.
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
Back to FAQ: Click Here