Skip to content

Commit 883f7b3

Browse files
committed
chore: add 0.12.0 release notes to CHANGELOG
1 parent 157bed8 commit 883f7b3

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,28 @@
11
# Change Log
22

3-
## Unreleased
3+
## 0.12.0
44

55
### Added
66

77
* Add `--saic-user-timezone` / `SAIC_USER_TIMEZONE` config option to force
88
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
1010
zone and the API value are detected by comparing the current UTC offset and
1111
logged at WARNING level.
1212

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+
1326
### Fixed
1427

1528
* Persist user-set HA gateway entities across gateway restarts by retaining
@@ -22,15 +35,20 @@
2235

2336
Note: on first upgrade only entities you change *after* the upgrade become
2437
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).
2642

2743
* Republish the effective Total Battery Capacity to its state topic right after
2844
the user updates the HA number. The `_set` handler used to only mutate the
2945
in-memory override and rely on the next vehicle poll to refresh the shared
3046
sensor topic, leaving the HA sensor stuck on the previous (often hardcoded
3147
per-model default) value while the number widget already showed the new
3248
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
3452

3553
## 0.11.0
3654

0 commit comments

Comments
 (0)