core/homeassistant/components/automation
Erik Montnemery 961ee717ef
Store automation and script traces (#56894)
* Store automation and script traces

* Pylint

* Deduplicate code

* Fix issues when no stored traces are available

* Store serialized data for restored traces

* Update WS API

* Update test

* Restore context

* Improve tests

* Add new test files

* Rename restore_traces to async_restore_traces

* Refactor trace.websocket_api

* Defer loading stored traces

* Lint

* Revert refactoring which is no longer needed

* Correct order when restoring traces

* Apply suggestion from code review

* Improve test coverage

* Apply suggestions from code review
2021-10-19 10:23:23 +02:00
..
blueprints
translations [ci skip] Translation update 2021-10-02 12:59:05 +00:00
__init__.py Store automation and script traces (#56894) 2021-10-19 10:23:23 +02:00
config.py Packages to support config platforms (#54085) 2021-08-05 13:11:01 -07:00
const.py Make number of stored traces configurable (#49728) 2021-04-27 10:27:12 -07:00
helpers.py Don't ignore mypy errors by default (#49270) 2021-04-26 14:23:21 +02:00
logbook.py
manifest.json Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
reproduce_state.py Use assignment expressions 09 (#57790) 2021-10-17 20:19:56 +02:00
services.yaml Wrap up selectors (#50794) 2021-05-25 14:45:17 +02:00
strings.json
trace.py Store automation and script traces (#56894) 2021-10-19 10:23:23 +02:00