mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 21:05:02 +01:00
If the time period for the mean/time weighted average was smaller than we can measure (less than one microsecond), generating statistics would fail with a divide by zero error. This is likely only happens if the database schema precision is incorrect.