Files
MrPabloUK 2e21aa73c0 Fix hub daily energy by publishing 0 W on the unused charge/discharge sign (#336)
- Hub `battery_charging_power` / `battery_discharging_power` left the unused sign as NAN, while the shunt already publishes 0 W.
- ESPHome `total_daily_energy` (`method: right`) skips NAN without advancing `last_update_`, so the next finite watt is multiplied by the whole gap (for example a charge spike after a long discharge).
- Publish 0 W on the unused sign (and when power is NAN / no BMS is combined) so both daily meters keep integrating.
2026-11-08 23:11:30 +01:00
..
2026-06-28 00:09:39 +02:00
2026-11-08 23:08:33 +01:00