core/homeassistant/helpers
Erik Montnemery 17401cbc29
Initial automation tracing (#46755)
* Initial prototype of automation tracing

* Small fixes

* Lint

* Move trace helpers to its own file

* Improve trace for state and numeric_state conditions

* Tweaks + apply suggestions from code review

* Index traces by automation_id, trace while script is running

* Refactor condition tracing

* Improve WS API to get traces for single automation

* Add tests

* Fix imports

* Fix imports

* Address review comments

* Cap logging of loops

* Remove unused ContextVar action_config
2021-03-04 14:16:24 +01:00
..
__init__.py Protect loop set default executor (#37438) 2020-07-06 15:58:53 -07:00
aiohttp_client.py more graceful shutdown in the presence of a proxy_stream (#45246) 2021-01-17 17:10:22 +01:00
area_registry.py Implement suggested_area in the device registry (#45940) 2021-02-19 19:34:33 -10:00
check_config.py Clean up secret loading (#47034) 2021-03-02 12:58:53 -08:00
collection.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
condition.py Initial automation tracing (#46755) 2021-03-04 14:16:24 +01:00
config_entry_flow.py Add support for discovery via DHCP (#45087) 2021-01-14 09:09:08 +01:00
config_entry_oauth2_flow.py Add support for discovery via DHCP (#45087) 2021-01-14 09:09:08 +01:00
config_validation.py Add template support to service targets (#46977) 2021-02-23 22:46:00 -08:00
data_entry_flow.py Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY (#39993) 2020-09-15 20:01:07 +03:00
debounce.py Await callbacks to keep cleaner stacktraces (#43693) 2020-11-27 17:48:43 +01:00
deprecation.py Add integration name to the deprecation warnings (#45901) 2021-02-03 14:40:11 +01:00
device_registry.py Improve behaviour when disabling or enabling config entries (#47301) 2021-03-03 10:12:37 -08:00
discovery.py Convert discovery helper to use dispatcher (#47008) 2021-02-24 13:37:31 -08:00
dispatcher.py Determine how to run listeners at setup time instead of execution time (#41304) 2020-10-07 16:51:50 +02:00
entity.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
entity_component.py Various type hint improvements (#46144) 2021-02-08 11:59:46 +01:00
entity_platform.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
entity_registry.py Improve behaviour when disabling or enabling config entries (#47301) 2021-03-03 10:12:37 -08:00
entity_values.py Generics and other type hint improvements (#45250) 2021-01-18 22:23:25 +01:00
entityfilter.py Various type hint improvements (#37952) 2020-07-22 08:06:37 -07:00
event.py Add support for pre-filtering events to the event bus (#46371) 2021-02-14 09:42:55 -10:00
frame.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
httpx_client.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
icon.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
instance_id.py Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
integration_platform.py Add logbook platforms (#37078) 2020-06-24 18:14:50 -07:00
intent.py Postponed evaluation of annotations in core (#46434) 2021-02-12 10:58:20 +01:00
json.py Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
location.py Upgrade mypy to 0.800 (#45485) 2021-01-30 22:33:53 +01:00
logging.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
network.py Remove base_url fallback (#46316) 2021-02-10 14:31:11 +01:00
ratelimit.py Fix async_track_utc_time_change firing too early (#42176) 2020-11-05 16:34:56 +01:00
reload.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
restore_state.py Postponed evaluation of annotations in core (#46434) 2021-02-12 10:58:20 +01:00
script.py Initial automation tracing (#46755) 2021-03-04 14:16:24 +01:00
script_variables.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00
selector.py Add addon selector (#46789) 2021-02-24 17:02:48 +01:00
service.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
signal.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
significant_change.py Postponed evaluation of annotations in core (#46434) 2021-02-12 10:58:20 +01:00
singleton.py Add tests for singleton decorator (#42055) 2020-10-18 22:41:22 +02:00
state.py Add transition support to scenes, cleanup blocking parameter (#34434) 2020-04-20 18:07:50 -07:00
storage.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
sun.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
system_info.py System health improvement (#43066) 2020-11-10 23:56:50 +01:00
temperature.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
template.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
trace.py Initial automation tracing (#46755) 2021-03-04 14:16:24 +01:00
translation.py Limit concurrency of async_get_integration to avoid creating extra threads (#43085) 2020-11-10 21:34:54 -10:00
trigger.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00
typing.py Update pylint (#47205) 2021-02-28 22:09:01 -10:00
update_coordinator.py Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00