How to keep the light on?

Thanks Edwards, apparently its a Kasa issue and nothing wrong with the blueprint. Tp link ks220m smart swich with motion and light sensors support - #42 by starsoccer

Apparently motion entities are yet recognized in HA for these switches