core/tests/components/number
J. Nick Koston fba826ae9e
Migrate restore_state helper to use registry loading pattern (#93773)
* Migrate restore_state helper to use registry loading pattern

As more entities have started using restore_state over time, it
has become a startup bottleneck as each entity being added is
creating a task to load restore state data that is already loaded
since it is a singleton

We now use the same pattern as the registry helpers

* fix refactoring error -- guess I am tired

* fixes

* fix tests

* fix more

* fix more

* fix zha tests

* fix zha tests

* comments

* fix error

* add missing coverage

* s/DATA_RESTORE_STATE_TASK/DATA_RESTORE_STATE/g
2023-05-30 20:48:17 -05:00
..
__init__.py
test_device_action.py Add type hints for stub_blueprint_populate fixture (#93568) 2023-05-26 08:13:13 +02:00
test_init.py Migrate restore_state helper to use registry loading pattern (#93773) 2023-05-30 20:48:17 -05:00
test_recorder.py Allow exposing entities not in the entity registry to assistants (#92363) 2023-05-02 22:08:09 +02:00
test_reproduce_state.py
test_websocket_api.py Sort unit lists sent to frontend (#88898) 2023-02-28 16:12:49 +01:00