mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 11:29:46 +00:00
Make it possible to list debug traces for a specific automation (#47744)
This commit is contained in:
@@ -137,8 +137,8 @@ SCRIPT_DEBUG_CONTINUE_ALL = "script_debug_continue_all"
|
||||
|
||||
def action_trace_append(variables, path):
|
||||
"""Append a TraceElement to trace[path]."""
|
||||
trace_element = TraceElement(variables)
|
||||
trace_append_element(trace_element, path, ACTION_TRACE_NODE_MAX_LEN)
|
||||
trace_element = TraceElement(variables, path)
|
||||
trace_append_element(trace_element, ACTION_TRACE_NODE_MAX_LEN)
|
||||
return trace_element
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user