Active Sleep Waking up is detected. TP-Link Kasa Turn off.

When waking up is detected, then turn off Tp-Link Kasa

Connect

When waking up is detected, then turn off Tp-Link Kasa