I’m brand new to home assistant. I just switched from smartthings and am really excited about the possibilities. I’m trying to recreate an automation I had on my smartthings system and could really use some help
Here’s my setup. I have 2 motion sensors, one on the inside of a room, and one on the outside. I’ve restricted the beams to capture only exit and entry. I have a z wave light switch in that room as well.
My general setup in sudo code would be this:
trigger:
outside motion sensor activated
condition:
inside motion sensor was activated in the last 5 seconds
action:
turn light off
I think I’ve got everything figured out except for the condition. Any help would be much appreciated.