Adding a delayed "display off" to the PIR Sensor module.
Hoping someone can assist. I’m finishing up my first MagicMirror project and need a bit of help with the PIR-Sensor module(https://forum.magicmirror.builders/topic/52/pir-sensor-put-your-mirror-to-sleep-if-not-used/6).
I’d like to modify the code to have a delay on turning the display off so that it turns off 20 seconds after the last “USER_PRESENCE” is detected. Right now it turns off immediately.