I ended up using cloudfree switches which use tasmota instead and worked fine CloudFree Motion Light Switch - CloudFree
It sounds like it is a limitation of the Kasa local API to not be able to access motion events/etc. Is this true? If so, will look for another switch since it will be unlikely that the HA integration will ever be able to get motion status. This is so close to an ideal switch with sensors!
The current integration is polling. There doesn’t seem to be a push local api. Even if we can figure out a way to poll for motion state the experience would likely be subpar since it would have up to a 5 second delay.
Unless tplink decides to publish docs for a local push api, I would look elsewhere for a similar device
I’d be okay with polling, for example it’s good enough for a security system.
Is there a way to control the config on this switch via HA? I see that python-kasa does support it.