💡 Sensor Light - Motion Sensor - Door Sensor - Sun Elevation - LUX Value - Scenes - Time - Light Control - Device Tracker - Night Lights

@Addi1975

Firstly welcome to the community :wave:

Thanks for providing your YAML. As a tip for next time, when you post your code into this forum it is best to use the “</>” button in the header and paste your code in there. It just makes it easer to read and use as it keeps the correct format.

looking at your automation settings it looks like you are using a button in your by-pass that probably has no “state”. The by-pass requires the entity to have an ON and OFF state. So it is probably getting stopped here.

Try and disable the by-pass and it should work. If it works after you have done that then you have some options for your by-pass.

  1. Keep using your button but you will need to create a bypass toggle helper and link the button to the toggle helper. you can do this by;

  2. Create a trigger template sensor with your button as the trigger and use that new sensor in the by-pass. Some examples of templates are Here

  3. Create a toggle helper and use that in the by-pass

    • Q: By-pass 101 - Every thing to know about the by-pass and how to use the “Trigger Sensor By-pass” without having a physical switch?

    • A: Please Click Here

  4. If you used ESPHome to created your button then add a switch to your code and have the button control the switch and use that. ESPHome area of this forum would be the best place to ask how to do this if you are unsure on the How To.

Hope this helps and let us know how you go.

Blacky :smiley:

1 Like