core/homeassistant/components/recorder
Anders Melchiorsen 8267a21bfe Lazy loading of service descriptions (#11479)
* Lazy loading of service descriptions

* Fix tests

* Load YAML in executor

* Return a copy of available services to allow mutations

* Remove lint

* Add zha/services.yaml

* Only cache descriptions for known services

* Remove lint

* Remove description loading during service registration

* Remove description parameter from async_register

* Test async_get_all_descriptions

* Remove lint

* Fix typos from multi-edit

* Remove unused arguments

* Remove unused import os

* Remove unused import os, part 2

* Remove unneeded coroutine decorator

* Only use executor for loading files

* Cleanups suggested in review

* Increase test coverage

* Fix races in existing tests
2018-01-07 14:54:16 -08:00
..
__init__.py Lazy loading of service descriptions (#11479) 2018-01-07 14:54:16 -08:00
const.py Feature/reorg recorder (#6237) 2017-02-26 14:38:06 -08:00
migration.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
models.py History query and schema optimizations for huge performance boost (#8748) 2017-08-04 23:16:53 -07:00
purge.py Do not purge the most recent state for an entity (#11039) 2018-01-01 18:43:10 -08:00
services.yaml Update services.yaml files (#10229) 2017-10-30 21:39:12 +01:00
util.py History query and schema optimizations for huge performance boost (#8748) 2017-08-04 23:16:53 -07:00