Automation for Basement Light

Need some help with an automation.
I have a motion sensor at the top of my basement steps.
When the basement door is opened, I have it turn on the basement light.
This part I have.
Now when I turn off the basement light, I walk up the steps to by the motion sensor, it turns the light back on.
How can I keep this from happening?

I got it. I was making it more difficult then it needed to be.

1 Like