mirror of
https://github.com/home-assistant/core.git
synced 2025-06-03 12:47:06 +00: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.