Lights activated by motion or by switch

An explanation of the automations:

“Front motion - lights on”

  • Turns the lights on after sunset, and assuming the lights arent already on
  • Reasoning for the condition of lights not being on, is because I don’t want to trigger if someone manually hits the switch because then the lights would turn off

“Front motion - lights off”

  • Turns the lights off with no motion for 5 minutes.
  • With with a condition that the light was turned on by motion, so it doesnt trigger if someone manually turned on the lights.

“Front light - lights off”

  • This is triggered if someone manually switches off the lights.
  • I clear the motion mode in case the lights were turned on with motion and not manually.
3 Likes