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
TheJulianJES
3989ef8863
Parse attribute reports for ZHA select entity ( #89418 )
...
* Parse attribute reports for ZHA select entity
* Add test for checking that select entity attribute reports are parsed
2023-03-09 07:01:18 -05:00
epenet
7427d4f323
Add type hints to integration tests (zha) ( #88309 )
2023-02-17 18:54:26 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
TheJulianJES
f740312247
Fix some typos in ZHA comments ( #84881 )
...
* Fix copy paste errors
* Fix "setup/set up" usage
* Fix typo
* Fix comment
* Fix copy paste errors
* Remove space at end of comment
* Remove double word
* Fix copy paste errors
* Fix typos
* Apply review suggestion
* Upper-case zha (to ZHA) everywhere
* Review: fix "over rules"
* Review: most/more
2023-01-02 00:20:59 -05:00
TheJulianJES
3126762707
Add friendly name to ZHA config entities ( #79926 )
...
* Add friendly name to ZHA config entities
* Follow HA capitalization conventions
* Change from "Start-up level" to "Start-up current level"
* Remove siren select friendly names (temporarily)
* Change tests to expect new entity ids
* Re-add siren select friendly names
* Change siren tests to expect new entity ids
2022-10-09 09:11:42 -04:00
epenet
25b1dfb53a
Cleanup EntityCategory in tests ( #78808 )
2022-09-20 10:49:44 -04:00
David F. Mulcahey
6f28e4bfee
Migrate ZHA to new entity naming standard ( #74846 )
2022-07-10 13:17:59 -07:00
J. Nick Koston
4bc5d7bfed
Speed up zha tests ( #73627 )
2022-06-17 11:41:10 -05:00
David F. Mulcahey
1eb5316d89
Remove unnecessary update_before_add from ZHA ( #71010 )
...
* Additional streamlining for ZHA entity init
* fix tests
2022-04-28 20:57:26 +02:00
David F. Mulcahey
27a5851ee2
Fix flaky ZHA tests ( #70956 )
2022-04-27 14:52:32 -10:00
David F. Mulcahey
9b8d217b0e
Implement support for start_up_on_off in ZHA ( #70110 )
...
* Implement support for start_up_on_off
fix discovery issues
remove cover change
* add tests
2022-04-24 12:50:06 -04:00
David F. Mulcahey
6a685f0315
Add select entities to ZHA ( #62718 )
2022-01-04 13:40:29 +01:00