hello, everyone, I’m new I
need helpI want to add a statement to line 33 if the motion active and the timer on line 28 is less 40s
do line 37
if not ( motion sensor it not active ) execute only line 25
thank you
hello, everyone, I’m new I
need helpSo I sleep track Users in my House, so please ignore the “mode-user” virtual switch.
I have it only do this when the user associated with that bathroom is awake, so that motion doesn’t trigger light during the night.
But for the purpose of example, this will work exactly how you want it to.
First thing thanks for your help I made changes on my it working, but I like yours better( did learn a lot from it ), ill combine yours with mine.
Thanks again