Home Assistant Unofficial Reference 2024.12.1
trace.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.trace.StopReason
 
class  homeassistant.helpers.trace.TraceElement
 

Namespaces

 homeassistant.helpers.trace
 

Functions

_T|None homeassistant.helpers.trace._T (ContextVar[list[_T]|None] trace_stack_var)
 
None homeassistant.helpers.trace._T (ContextVar[list[_T]|None] trace_stack_var, _T node)
 
Callable[[Callable[[ *_Ts], Coroutine[Any, Any, None]]], Callable[[ *_Ts], Coroutine[Any, Any, None]],] homeassistant.helpers.trace._Ts (str|list[str] suffix)
 
str|None homeassistant.helpers.trace.script_execution_get ()
 
None homeassistant.helpers.trace.script_execution_set (str reason, ServiceResponse response=None)
 
None homeassistant.helpers.trace.trace_append_element (TraceElement trace_element, int|None maxlen=None)
 
None homeassistant.helpers.trace.trace_clear ()
 
dict[str, deque[TraceElement]]|None homeassistant.helpers.trace.trace_get (bool clear=True)
 
tuple[str, str]|None homeassistant.helpers.trace.trace_id_get ()
 
None homeassistant.helpers.trace.trace_id_set (tuple[str, str] trace_id)
 
Generator[None] homeassistant.helpers.trace.trace_path (str|list[str] suffix)
 
str homeassistant.helpers.trace.trace_path_get ()
 
None homeassistant.helpers.trace.trace_path_pop (int count)
 
int homeassistant.helpers.trace.trace_path_push (str|list[str] suffix)
 
None homeassistant.helpers.trace.trace_set_child_id (str child_key, str child_run_id)
 
None homeassistant.helpers.trace.trace_set_result (**Any kwargs)
 
None homeassistant.helpers.trace.trace_stack_pop (ContextVar[list[Any]|None] trace_stack_var)
 
None homeassistant.helpers.trace.trace_update_result (**Any kwargs)