Repository navigation
v1.0.13 - write capacity to device; fix current/power sign
Two changes in this release
1.0.12 — Write battery capacity preset to device on connect
On every GATT connection the integration now writes the user-configured battery capacity to the device's b0 register via the write characteristic (0000fff2-...). This keeps the device's own remaining-time calculation in sync with the capacity configured in HA. Write failures are logged as warnings and do not interrupt the connection.
1.0.13 — Fix current/power sign inconsistency
Power sign was inverted relative to current. Both now use the same convention:
- Negative = charging
- Positive = discharging
Previously power was positive while charging and negative while discharging, which was the opposite of current.