Kasa Smart Plug on Plug n Play solar outlet; Reverse energy direction?

Not sure there’s a bug in any device. With AC current / voltage and no reference to the grid, there’s no easy way to designate polarity. I think when Sense does its solar calibration, the monitor establishes the power reference for positive and negative energy flow. But if you are just measuring the waveforms, you have no way to know the direction of energy flow.