|
1 | 1 | # Change Log |
2 | 2 |
|
3 | | -## Unreleased |
| 3 | +## 0.12.0 |
4 | 4 |
|
5 | 5 | ### Added |
6 | 6 |
|
7 | 7 | * Add `--saic-user-timezone` / `SAIC_USER_TIMEZONE` config option to force |
8 | 8 | the account timezone instead of relying on the SAIC API value. Useful when |
9 | | - the API reports a wrong DST offset (#438). Discrepancies between the forced |
| 9 | + the API reports a wrong DST offset (#444). Discrepancies between the forced |
10 | 10 | zone and the API value are detected by comparing the current UTC offset and |
11 | 11 | logged at WARNING level. |
12 | 12 |
|
| 13 | +* Add SoC kWh fallback for vehicles that do not report `realtimePower`: the |
| 14 | + gateway now estimates energy consumed from the SoC delta and battery |
| 15 | + capacity so the kWh sensors remain populated even without live power data |
| 16 | + (#448). |
| 17 | + |
| 18 | +* Add battery capacity support for MG4 Urban (AH4EM series) (#455). |
| 19 | + |
| 20 | +* Default MG4 Urban non-Long-Range variants to 54 kWh when no custom override |
| 21 | + is configured (#452). |
| 22 | + |
| 23 | +* Home Assistant SoC icon now dynamically reflects the charging state |
| 24 | + (charging / discharging / idle) (#458). |
| 25 | + |
13 | 26 | ### Fixed |
14 | 27 |
|
15 | 28 | * Persist user-set HA gateway entities across gateway restarts by retaining |
|
22 | 35 |
|
23 | 36 | Note: on first upgrade only entities you change *after* the upgrade become |
24 | 37 | persistent. Existing retained STATE values on the broker are not converted |
25 | | - into retained `/set` commands. |
| 38 | + into retained `/set` commands. (#441) |
| 39 | + |
| 40 | +* Forward the retain flag through all typed publish methods so that retained |
| 41 | + state is correctly preserved on the broker across reconnects (#443). |
26 | 42 |
|
27 | 43 | * Republish the effective Total Battery Capacity to its state topic right after |
28 | 44 | the user updates the HA number. The `_set` handler used to only mutate the |
29 | 45 | in-memory override and rely on the next vehicle poll to refresh the shared |
30 | 46 | sensor topic, leaving the HA sensor stuck on the previous (often hardcoded |
31 | 47 | per-model default) value while the number widget already showed the new |
32 | 48 | setting. A payload of `0` re-publishes the per-model default via |
33 | | - `real_battery_capacity`. |
| 49 | + `real_battery_capacity` (#445). |
| 50 | + |
| 51 | +**Full Changelog**: https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway/compare/0.11.0...0.12.0 |
34 | 52 |
|
35 | 53 | ## 0.11.0 |
36 | 54 |
|
|
0 commit comments