core/tests/components/recorder
Erik Montnemery e16a8063a5
Compile statistics for energy sensors ()
* Compile statistics for energy sensors

* Update tests

* Rename abs_value to state

* Tweak

* Recreate statistics table

* Pylint

* Try to fix test

* Fix statistics for multiple energy sensors

* Fix energy statistics when last_reset is not set
2021-05-20 13:05:15 +02:00
..
__init__.py
common.py HomeAssistantType —> HomeAssistant for Integrations p* - s* () 2021-04-22 19:58:02 +02:00
conftest.py Compile statistics for energy sensors () 2021-05-20 13:05:15 +02:00
models_original.py Migrate from pytz to python-dateutil () 2021-05-07 22:46:26 -07:00
test_history.py Refactor history component () 2021-05-11 09:21:57 +02:00
test_init.py Compile statistics for energy sensors () 2021-05-20 13:05:15 +02:00
test_migrate.py Check exception causes for matching strings during recorder migration () 2021-05-02 20:57:42 -07:00
test_models.py Migrate from pytz to python-dateutil () 2021-05-07 22:46:26 -07:00
test_pool.py Use StaticPool for recorder and NullPool for all other threads with sqlite3 () 2021-04-26 19:20:31 -10:00
test_purge.py Initial draft of statistics () 2021-05-16 10:23:37 -07:00
test_statistics.py Compile statistics for energy sensors () 2021-05-20 13:05:15 +02:00
test_util.py Compile statistics for energy sensors () 2021-05-20 13:05:15 +02:00