ha-core/homeassistant/components/trace
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
..
__init__.py Store automation and script traces (#56894) 2021-10-19 10:23:23 +02:00
const.py Store automation and script traces (#56894) 2021-10-19 10:23:23 +02:00
manifest.json
utils.py
websocket_api.py Store automation and script traces (#56894) 2021-10-19 10:23:23 +02:00