diff --git a/documents/README/changelog/Changelog.md b/documents/README/changelog/Changelog.md index 2cb4453..dc4eb7a 100644 --- a/documents/README/changelog/Changelog.md +++ b/documents/README/changelog/Changelog.md @@ -29,6 +29,7 @@ * Fixed the RS485 link staying up with `Disabled` : the proxy sensors kept their last value, so the Pylontech component went on answering the inverter with stale data and kept reporting its status as ON ; the sensors it checks are now invalidated when the protocol is off, which makes it stop answering and report the link as down * Fixed the CAN bus not stopping when the protocol was set to `Disabled` at runtime : the frame index kept its previous value and the last frame was re-emitted every 100 ms * Fixed the reported communication bus and protocol being overwritten when a node declares several inverter links : each link now owns its slot, and the telemetry reports every link instead of the last one + * `Daily Charging Energy` / `Daily Discharging Energy` (YamBMS and BMS) rounded to 10 Wh (`0.01 kWh`) instead of 1 Wh, to reduce the number of state changes recorded by Home Assistant * YamBMS 1.8.0 : * Set esphome `min_version` to `2026.8.0` diff --git a/packages/bms/bms_base_daily_energy.yaml b/packages/bms/bms_base_daily_energy.yaml index 2ec20f2..b512178 100644 --- a/packages/bms/bms_base_daily_energy.yaml +++ b/packages/bms/bms_base_daily_energy.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.12.22 -# Version : 1.1.3 +# Updated : 2026.11.06 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -28,10 +28,12 @@ sensor: unit_of_measurement: 'kWh' device_class: energy state_class: total_increasing - accuracy_decimals: 3 + accuracy_decimals: 2 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 + # 10 Wh steps: HA stores every float change, 1 Wh steps wrote a state every few seconds + - round: 2 - platform: total_daily_energy device_id: bms_${bms_id} name: "Daily Discharging Energy" @@ -39,7 +41,9 @@ sensor: unit_of_measurement: 'kWh' device_class: energy state_class: total_increasing - accuracy_decimals: 3 + accuracy_decimals: 2 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 + # 10 Wh steps: HA stores every float change, 1 Wh steps wrote a state every few seconds + - round: 2 diff --git a/packages/yambms/yambms_core.yaml b/packages/yambms/yambms_core.yaml index 5d02a36..36739ea 100644 --- a/packages/yambms/yambms_core.yaml +++ b/packages/yambms/yambms_core.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.11.05 +# Updated : 2026.11.06 # Version : 1.8.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -2232,10 +2232,12 @@ sensor: unit_of_measurement: 'kWh' device_class: energy state_class: total_increasing - accuracy_decimals: 3 + accuracy_decimals: 2 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 + # 10 Wh steps: HA stores every float change, 1 Wh steps wrote a state every few seconds + - round: 2 # Daily Discharging Energy - platform: total_daily_energy @@ -2245,10 +2247,12 @@ sensor: unit_of_measurement: 'kWh' device_class: energy state_class: total_increasing - accuracy_decimals: 3 + accuracy_decimals: 2 filters: # Multiplication factor from W to kW is 0.001 - multiply: 0.001 + # 10 Wh steps: HA stores every float change, 1 Wh steps wrote a state every few seconds + - round: 2 # +--------------------------------------+ # | Requested Charge Voltage (CVL) |