Holds information about a template render.
Definition at line 373 of file template.py.
◆ __init__()
| None homeassistant.helpers.template.RenderInfo.__init__ |
( |
|
self, |
|
|
Template |
template |
|
) |
| |
◆ __repr__()
| str homeassistant.helpers.template.RenderInfo.__repr__ |
( |
|
self | ) |
|
Representation of RenderInfo.
Definition at line 409 of file template.py.
◆ _filter_domains_and_entities()
| bool homeassistant.helpers.template.RenderInfo._filter_domains_and_entities |
( |
|
self, |
|
|
str |
entity_id |
|
) |
| |
|
private |
Template should re-render if the entity state changes.
Only when we match specific domains or entities.
Definition at line 425 of file template.py.
◆ _filter_entities()
| bool homeassistant.helpers.template.RenderInfo._filter_entities |
( |
|
self, |
|
|
str |
entity_id |
|
) |
| |
|
private |
Template should re-render if the entity state changes.
Only when we match specific entities.
Definition at line 434 of file template.py.
◆ _filter_lifecycle_domains()
| bool homeassistant.helpers.template.RenderInfo._filter_lifecycle_domains |
( |
|
self, |
|
|
str |
entity_id |
|
) |
| |
|
private |
Template should re-render if the entity is added or removed.
Only with domains watched.
Definition at line 441 of file template.py.
◆ _freeze()
| None homeassistant.helpers.template.RenderInfo._freeze |
( |
|
self | ) |
|
|
private |
◆ _freeze_sets()
| None homeassistant.helpers.template.RenderInfo._freeze_sets |
( |
|
self | ) |
|
|
private |
◆ _freeze_static()
| None homeassistant.helpers.template.RenderInfo._freeze_static |
( |
|
self | ) |
|
|
private |
◆ result()
| str homeassistant.helpers.template.RenderInfo.result |
( |
|
self | ) |
|
Results of the template computation.
Definition at line 448 of file template.py.
◆ __slots__
| tuple homeassistant.helpers.template.RenderInfo.__slots__ |
|
staticprivate |
Initial value:= (
"template",
"filter_lifecycle",
"filter",
"_result",
"is_static",
"exception",
"all_states",
"all_states_lifecycle",
"domains",
"domains_lifecycle",
"entities",
"rate_limit",
"has_time",
)
Definition at line 376 of file template.py.
◆ all_states
| homeassistant.helpers.template.RenderInfo.all_states |
◆ all_states_lifecycle
| homeassistant.helpers.template.RenderInfo.all_states_lifecycle |
◆ domains
| homeassistant.helpers.template.RenderInfo.domains |
◆ domains_lifecycle
| homeassistant.helpers.template.RenderInfo.domains_lifecycle |
◆ entities
| homeassistant.helpers.template.RenderInfo.entities |
◆ filter
| homeassistant.helpers.template.RenderInfo.filter |
◆ filter_lifecycle
| homeassistant.helpers.template.RenderInfo.filter_lifecycle |
◆ has_time
| homeassistant.helpers.template.RenderInfo.has_time |
◆ is_static
| homeassistant.helpers.template.RenderInfo.is_static |
◆ rate_limit
| homeassistant.helpers.template.RenderInfo.rate_limit |
◆ template
| homeassistant.helpers.template.RenderInfo.template |
The documentation for this class was generated from the following file: