In addition, I’m getting a confusing response to get_battery_charge(). At this moment it’s returning 16 while the Power software (website) shows the battery is at 97%. What’s going on there?
This seems to happen if you try to run API requests locally while the power_agent is running.
If you stop the power_agent the errors will hopefully disappear.
I have not found a good way to enable both the power_agent and using the local api reliably at the same time.