What's Changed
-
Add go_off_grid() and reconnect_grid() for Powerwall island mode control by @bolagnaise in #277
-
Fix: Prevent
TypeErrorin Powerwall 3 TEDAPI vitals parsing whenPCH_PvVoltage*orPCH_PvCurrent*signals areNoneon systems without solar panels - by @anopheles in #278get_pw3_vitals()now guardsNonevalues before performing> 0comparisons- PV measured voltage, current, and power now safely report
0when the gateway returns missing PV values - Prevents downstream failures in endpoints derived from PW3 vitals, including
/api/meters/aggregates - Adds regression coverage for PW3 systems without solar panels so the no-solar path no longer raises and remains locked in by tests
-
Release prep:
- Bump library version to
0.15.3 - Update proxy pinned dependency to
pypowerwall==0.15.3 - Fix PyPI upload cleanup script to remove
pypowerwall.egg-infoinstead of staletinytuya.egg-info
- Bump library version to
New Contributors
- @anopheles made their first contribution in #278
Full Changelog: v0.15.2...v0.15.3