1
0
mirror of https://github.com/home-assistant/core.git synced 2025-10-08 19:29:38 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
epenet
899fb091fc Simplify access to hass in service calls () 2024-12-13 09:31:21 +01:00
epenet
2e3c3789d3 Use relative imports in tests [s-z] () 2024-06-10 13:33:15 +02:00
Jan-Philipp Benecke
3fd24989c6 Use setup_test_component_platform helper for text entity component tests instead of hass.components () 2024-03-28 21:08:25 +01:00
Marc Mueller
87165c0d6e Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
J. Nick Koston
fba826ae9e Migrate restore_state helper to use registry loading pattern ()
* 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
epenet
88cfbf6a34 Add type hints to integration tests (part 22) () 2023-02-16 14:08:03 +01:00
Franck Nijhof
ed79265843 Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
278050a73f Add type hints to integration tests (t-z) () 2023-02-08 19:10:53 +01:00
Raman Gupta
258b9fe663 Support restoring TextEntity native_value () 2022-11-29 10:09:41 +01:00
Raman Gupta
003e4224c8 Add text platform ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 20:01:01 +01:00