Using a motion sensor


#1

Y does the entrance light not turn off
It turns the light on but will not turn off anyone have an idea
Thanks


#2

The initial if supersedes the second if, so it cancels before it gets to the second if. Separate the 2 if statements and add a task cancelation policy (Depicted by the N). Below is an example in my home (Using variables so it doesn’t turn off if I turned it on manually):


#3

Why don’t you try this…

IF Motion Entrance STAYS INACTIVE X minute (Lets say 1 minute)
THEN
ENTRANCE LIGHT
TURN OFF