Have problem: The Alarm devices is strope when motionSensor active in period time

Look like OR (||)

if (currTime >= timeOfDay_begin.time && currTime <=timeOfDay_last .time) || (currTime >= timeOfDay_start.time && currTime <= timeOfDay_end.time) && (sel == “on”)

Thanks @David_ROOP

1 Like