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
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D ( #50903 )
2021-05-20 18:51:39 +03:00
Erik Montnemery
ce64690817
Make number of stored traces configurable ( #49728 )
2021-04-27 10:27:12 -07:00
Erik Montnemery
76d0f93ec1
Include blueprint input in automation trace ( #48575 )
2021-04-01 13:34:47 -07:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Erik Montnemery
7534b54e4e
Merge condition and action traces ( #48461 )
2021-03-29 14:06:49 -07:00
Erik Montnemery
14ef0531f0
Address review comments from trace refactoring PRs ( #48288 )
2021-03-29 08:09:14 +02:00
Erik Montnemery
8896ae0d56
Add support for tracing script execution ( #48276 )
...
* Add support for tracing script execution
* Tweak
2021-03-24 17:56:22 +01:00
Erik Montnemery
9f8b697e64
Refactor tracing: Prepare for tracing of scripts ( #48231 )
2021-03-23 14:53:38 -07:00
Erik Montnemery
a49989241a
Refactor tracing: Move trace support to its own integration ( #48224 )
2021-03-22 19:19:38 +01:00
Marc Mueller
76199c0eb2
Update typing 04 ( #48037 )
2021-03-17 23:34:25 +01:00
Paulus Schoutsen
f1c274b3dd
Add run_id to automation logbook event ( #47980 )
2021-03-16 14:37:26 -07:00
Erik Montnemery
9647eeb2e0
Add custom JSONEncoder for automation traces ( #47942 )
...
* Add custom JSONEncoder for automation traces
* Add tests
* Update default case to include type
* Tweak
* Refactor
* Tweak
* Lint
* Update websocket_api.py
2021-03-16 14:21:05 +01:00
Erik Montnemery
f82e59c32a
Make it possible to list debug traces for a specific automation ( #47744 )
2021-03-15 16:51:04 -07:00
Erik Montnemery
a9a9e1f199
Tweak automation tracing ( #47721 )
2021-03-10 14:42:13 -08:00