TP Kasa outlet randomly turns off. Unclear why

TP KASA KP200 outlet. I manually turn on the bottom plug and at some point later in the day I find it off. No one manually doing it. I can’t find an automation triggering it. It’s not scheduled to turn off on the Kasa app. Not exposed as a light.

Any idea how I can track down WHAT is turning the outlet off?

Hi nima,
Is there a phone app or something else connected to this that may be doing this?

I do have some other outlets on schedule thru the Kasa app. I have the HASS companion phone app as well as Google Home.

It is in Google and home assistant as an outlet, rather than a light. When I call a command to turn off all the lights, it does not turn off.

Couldn’t find way to identify what was causing it but was able to find errant google routine tweaking the setting. The only useful clue was watching like a hawk for timing of the device turning off. So thankful home assistant logs that so well!