Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.automation.trace.AutomationTrace Class Reference
Inheritance diagram for homeassistant.components.automation.trace.AutomationTrace:
[legend]
Collaboration diagram for homeassistant.components.automation.trace.AutomationTrace:
[legend]

Public Member Functions

None __init__ (self, str|None item_id, ConfigType|None config, ConfigType|None blueprint_inputs, Context context)
 
dict[str, Any] as_short_dict (self)
 
None set_trigger_description (self, str trigger)
 

Private Attributes

 _trigger_description
 

Static Private Attributes

 _domain = DOMAIN
 

Detailed Description

Container for automation trace.

Definition at line 20 of file trace.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.automation.trace.AutomationTrace.__init__ (   self,
str | None  item_id,
ConfigType | None  config,
ConfigType | None  blueprint_inputs,
Context  context 
)
Container for automation trace.

Definition at line 25 of file trace.py.

Member Function Documentation

◆ as_short_dict()

dict[str, Any] homeassistant.components.automation.trace.AutomationTrace.as_short_dict (   self)
Return a brief dictionary version of this AutomationTrace.

Definition at line 40 of file trace.py.

◆ set_trigger_description()

None homeassistant.components.automation.trace.AutomationTrace.set_trigger_description (   self,
str  trigger 
)
Set trigger description.

Definition at line 36 of file trace.py.

Member Data Documentation

◆ _domain

homeassistant.components.automation.trace.AutomationTrace._domain = DOMAIN
staticprivate

Definition at line 23 of file trace.py.

◆ _trigger_description

homeassistant.components.automation.trace.AutomationTrace._trigger_description
private

Definition at line 38 of file trace.py.


The documentation for this class was generated from the following file: