Skip to content

Conversation

@ericdegroot
Copy link
Contributor

@ericdegroot ericdegroot commented Nov 14, 2025

This PR replaces the following 'fixes' I submitted WRT Powerwall 3 support:

Returning 0s when there's no API response for the field is a loss of information. I believe it's leading to 0 spikes in my percentage_charged data in Home Assistant. It does happen a few times a day, which would cause the round to throw an exception. Checking for None and returning that should be a better fix.

@ericdegroot ericdegroot changed the title PW3 percentage_charged None handling change fix: PW3 percentage_charged None handling change Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant