hass-core/tests/components/recorder
J. Nick Koston acf78664e2
Reduce overhead to compile statistics (#106927)
* Reduce overhead to compile statistics

statistics uses LazyState for compatibility with State when pulling
data from the database.

After the previous round of refactoring to modern history, the setters
are never called and can be removed.

* reduce
2024-01-07 22:36:49 -05:00
..
auto_repairs Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
table_managers Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
__init__.py
common.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
db_schema_0.py Avoid use of datetime.utc* methods deprecated in Python 3.12 (#93684) 2023-08-24 16:38:22 +02:00
db_schema_16.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_18.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_22.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_23.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_23_with_newer_columns.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_25.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_28.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_30.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
db_schema_32.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
test_backup.py
test_entity_registry.py Require a list of entity ids when fetching history (#90992) 2023-04-08 16:14:44 -10:00
test_filters.py Ensure filters are generated inside the lambda locks (#90418) 2023-03-28 20:50:10 +02:00
test_filters_with_entityfilter.py
test_filters_with_entityfilter_schema_37.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
test_history.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
test_history_db_schema_30.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
test_history_db_schema_32.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
test_init.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
test_migrate.py Refactor recorder for common event case (#106753) 2024-01-07 22:31:40 -05:00
test_migration_from_schema_32.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
test_models.py Reduce overhead to compile statistics (#106927) 2024-01-07 22:36:49 -05:00
test_models_legacy.py Avoid multiple round trips to the database for history API calls (#91193) 2023-04-11 22:38:23 -04:00
test_pool.py Fix recorder DeprecationWarnings (#97738) 2023-08-04 11:32:51 +02:00
test_purge.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
test_purge_v32_schema.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
test_statistics.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
test_statistics_v23_migration.py Remove unnnecessary pylint configs from components [m-r]* (#98924) 2023-08-24 00:56:50 +02:00
test_system_health.py Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
test_util.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
test_v32_migration.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
test_websocket_api.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00