hass-core/tests/components/recorder
Erik Montnemery 4568207f9b
Support calculating changes between consecutive sum statistics (#92823)
* Support calculating changes between consecutive sum statistics

* Add support for unit conversion when calculating change

* Don't include sum in WS response unless requested

* Improve tests

* Break out calculating change to its own function

* Improve test coverage
2023-05-11 10:05:58 +02:00
..
auto_repairs Auto repair incorrect collation on MySQL schema (#92270) 2023-04-29 21:17:09 -04:00
table_managers
__init__.py
common.py Add a negative cache to the recorder event type manager (#91770) 2023-04-22 14:09:04 +02:00
db_schema_0.py
db_schema_16.py
db_schema_18.py
db_schema_22.py
db_schema_23.py
db_schema_23_with_newer_columns.py
db_schema_25.py
db_schema_28.py
db_schema_30.py
db_schema_32.py
test_backup.py
test_entity_registry.py
test_filters.py
test_filters_with_entityfilter.py
test_filters_with_entityfilter_schema_37.py
test_history.py Reduce number of columns when selecting attributes for history (#91717) 2023-04-22 14:21:08 +02:00
test_history_db_schema_30.py
test_history_db_schema_32.py
test_init.py
test_migrate.py
test_migration_from_schema_32.py Fix migration with negative event type cache (#91910) 2023-04-23 20:56:17 -04:00
test_models.py Add as_dict cache to Context and Event (#92162) 2023-04-28 21:15:39 +02:00
test_models_legacy.py
test_pool.py
test_purge.py Improve reliablity of recorder purge test (#92641) 2023-05-07 01:28:43 +02:00
test_purge_v32_schema.py Ensure purge can cleanup old format detached states in the database (#92145) 2023-04-28 21:03:59 +02:00
test_statistics.py Support calculating changes between consecutive sum statistics (#92823) 2023-05-11 10:05:58 +02:00
test_statistics_v23_migration.py
test_system_health.py
test_util.py Speed up sql queries where ORM rows are not needed (#91839) 2023-04-21 23:28:07 -04:00
test_v32_migration.py
test_websocket_api.py Support calculating changes between consecutive sum statistics (#92823) 2023-05-11 10:05:58 +02:00