hass-core/tests/components/recorder
Erik Montnemery e1926caeb9
Remove STATE_CLASS_TOTAL and last_reset from sensor (#54755)
* Remove STATE_CLASS_TOTAL

* Update mill sensor

* Update tests

* Kill last_reset

* Return ATTR_LAST_RESET to utility_meter

* Update energy cost sensor

* Restore last_reset for backwards compatibility

* Re-add and update deprecation warning

* Update tests

* Fix utility_meter

* Update EnergyCostSensor

* Tweak

* Fix rebase mistake

* Fix test
2021-08-18 10:03:27 +02:00
..
__init__.py Tweak Recorder 2016-07-11 08:56:07 -07:00
common.py HomeAssistantType —> HomeAssistant for Integrations p* - s* (#49558) 2021-04-22 19:58:02 +02:00
conftest.py Compile statistics for energy sensors (#50829) 2021-05-20 13:05:15 +02:00
models_original.py Migrate from pytz to python-dateutil (#49643) 2021-05-07 22:46:26 -07:00
test_history.py Refactor history component (#50287) 2021-05-11 09:21:57 +02:00
test_init.py Add purge_entities service call to recorder (#48069) 2021-05-22 10:30:05 -05:00
test_migrate.py Check exception causes for matching strings during recorder migration (#49999) 2021-05-02 20:57:42 -07:00
test_models.py Migrate from pytz to python-dateutil (#49643) 2021-05-07 22:46:26 -07:00
test_pool.py Use StaticPool for recorder and NullPool for all other threads with sqlite3 (#49693) 2021-04-26 19:20:31 -10:00
test_purge.py Avoid drift in recorder purge cut-off (#52135) 2021-06-25 11:29:38 -10:00
test_statistics.py Remove STATE_CLASS_TOTAL and last_reset from sensor (#54755) 2021-08-18 10:03:27 +02:00
test_util.py Fix SQLAlchemy test warnings (#54116) 2021-08-08 20:33:47 -07:00