core/homeassistant/components/history_stats
J. Nick Koston e34853a82a
Switch underlying history stats calculation to use seconds (#77857)
* Switch history stats to report in seconds

Because hours were previously used, the data would always be off because
of the loss of resolution when the time being tracked was in a window
of more than 12s

* Apply suggestions from code review

* Update homeassistant/components/history_stats/sensor.py

* tweak
2023-03-12 23:05:48 -04:00
..
__init__.py
coordinator.py
data.py Switch underlying history stats calculation to use seconds (#77857) 2023-03-12 23:05:48 -04:00
helpers.py Switch underlying history stats calculation to use seconds (#77857) 2023-03-12 23:05:48 -04:00
manifest.json
sensor.py Switch underlying history stats calculation to use seconds (#77857) 2023-03-12 23:05:48 -04:00
services.yaml