hass-core/homeassistant/helpers
J. Nick Koston 62c664fbbd
Reduce time to reload yaml and check configuration ()
* Reduce time to reload yaml and check configuration

We spend a significant amount of time compiling templates
that we have already compiled.

Use an LRU cache to avoid re-compiling templates that
we frequently use.

* pylint

* switch to WeakValueDictionary

* preen
2020-08-04 03:00:44 +02:00
..
__init__.py Protect loop set default executor () 2020-07-06 15:58:53 -07:00
aiohttp_client.py Protect loop set default executor () 2020-07-06 15:58:53 -07:00
area_registry.py Various type hint improvements () 2020-07-22 08:06:37 -07:00
check_config.py Attrs cleanups () 2020-07-14 10:30:30 -07:00
collection.py Parallelize collections helper () 2020-04-28 14:31:16 -07:00
condition.py Add support for multiple states/zones in conditions () 2020-06-16 00:53:13 +02:00
config_entry_flow.py ConfigFlow default discovery without unique ID () 2020-06-15 13:38:38 +02:00
config_entry_oauth2_flow.py Fix/Rewrite of Toon integration () 2020-06-22 18:22:41 -07:00
config_validation.py Allow float values in time periods () 2020-07-21 19:41:42 -05:00
data_entry_flow.py More data entry flow and HTTP related type hints () 2020-05-26 09:28:22 -05:00
debounce.py Clean up device registry if entity registry updates () 2020-05-05 10:53:46 -07:00
deprecation.py Adds guards for missing information in call stack frames () 2019-10-05 11:59:33 +02:00
device_registry.py Index the device registry () 2020-07-19 23:32:05 -07:00
discovery.py Mark config dependency of frontend () 2020-06-09 23:27:47 -07:00
dispatcher.py Fix dispatcher logging () 2020-03-26 20:44:44 -07:00
entity.py Simplify generate_entity_id () 2020-07-31 08:50:42 +02:00
entity_component.py Do async_setup_platform in background () 2020-05-31 22:18:30 -07:00
entity_platform.py Improve logging when a unique id conflict is detected () 2020-08-01 11:20:37 +02:00
entity_registry.py Index the entity registry () 2020-07-19 22:52:41 -07:00
entity_values.py Migrate legacy typehints in core to PEP-526 () 2019-09-03 20:36:04 -07:00
entityfilter.py Various type hint improvements () 2020-07-22 08:06:37 -07:00
event.py Use event loop scheduling for tracking time patterns () 2020-07-20 20:18:31 -10:00
frame.py Protect loop set default executor () 2020-07-06 15:58:53 -07:00
icon.py Various string cleanups () 2020-01-03 14:47:06 +01:00
instance_id.py Extract instance ID helper from updater () 2020-05-04 11:23:12 -07:00
integration_platform.py Add logbook platforms () 2020-06-24 18:14:50 -07:00
intent.py Log lines do not end with a full stop () 2020-07-05 23:04:19 +02:00
json.py Black 2019-07-31 12:25:30 -07:00
location.py Add helpers.location.coordinates () 2020-07-03 11:28:44 -07:00
logging.py Upgrade mypy to 0.770, tighten config a bit () 2020-03-12 11:52:20 +01:00
network.py async_get_url -> get_url () 2020-05-08 21:53:28 +02:00
restore_state.py Dump states in event handler for HA_Stop () 2020-04-13 17:41:01 -07:00
script.py Fix queued script not updating current attribute when queuing () 2020-08-01 15:51:48 +02:00
service.py Log lines do not end with a full stop () 2020-07-05 23:04:19 +02:00
signal.py Sort imports according to PEP8 for 'homeassistant' folder () 2019-12-09 16:42:10 +01:00
singleton.py Extract instance ID helper from updater () 2020-05-04 11:23:12 -07:00
state.py Add transition support to scenes, cleanup blocking parameter () 2020-04-20 18:07:50 -07:00
storage.py Various type hint improvements () 2020-07-22 08:06:37 -07:00
sun.py Enable pylint import-outside-toplevel () 2020-04-04 17:07:36 +02:00
system_info.py Various type hint improvements () 2020-07-22 08:06:37 -07:00
temperature.py Upgrade mypy to 0.770, tighten config a bit () 2020-03-12 11:52:20 +01:00
template.py Reduce time to reload yaml and check configuration () 2020-08-04 03:00:44 +02:00
translation.py Remove loading of legacy translations () 2020-06-23 10:58:11 +02:00
typing.py Type hint improvements () 2020-03-18 19:27:25 +02:00
update_coordinator.py Update coordinator improvements () 2020-07-30 18:04:00 +03:00