Some work is required in this upgrade. Please see below on the steps when upgrading. It is easy and not a breaking change.
New Feature
Switch - You can add as many switches as you like. If any switch is ON it will turn ON the main entity. All switches must be OFF to turn OFF the main entity.
Why multiple switches? I use this to control my WLED lights transformer. WLED has a feature for adding in a relay but you have to wire it all up etc. What I do is add all my lights (In WLED it is call segments) into the switch. In the main entity I add my smart plug (plug my transformer into smart plug) and the main switch for WLED. The transformer feeds the LED’s not the ESP32 and I have another cable (USB C) supplying the ESP32 so everything is available in HA 24/7. Now when any light is turned ON, it turns on the main entities that are my smart plug (transformer) and WLED main switch and the lights turn ON. When all the light are turned OFF the transformer and WLED main switch is turned OFF.
Why do this? Because even though the LED lights are turned OFF they still draw power. This way they only draw power when they are turned ON
You can do other things with it but this is one example.
STEPS REQUIRED WHEN UPGRADING
1 - Upgrade your blueprint.
2 - Go into your automation (the ones using this blueprint). You will see the switch has a missing input.
3 - Click the 3 dots top right and “Edit in YAML”.
4 - We are looking for the words or input called “switch: ???
- Delete this line,(“switch: ???”)
6 - Then click 3 dots and select “Edit in visual editor”
- Enter in your switch again.
8 - Click save, and you’re 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
Enjoy
Blacky