⏪️ Revert the external energy statistic, keep the hourly fetch throttle #55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "revert/external-energy-statistic"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backs out the opt-in external statistic
comwatt:<device>_total_energyadded in #18 (not wanted). Keeps the QUANTITY/HOUR fetch throttle (#3) and the robusttotal_whaccumulation for the existingsensor.<device>_total_energyentity.Consequence: the hour-offset (#5, #42) is no longer addressed — those issues are reopened.
async_add_external_statisticspush,_NewEnergyBucket,_async_push_energy_statistics,_pending_energy_buckets, the external-stats test, andafter_dependencies: [recorder](from #53, only needed for the removed recorder import)._parse_bucket_ts+ datetime dedup.ruff + mypy clean, 43 tests pass.