Class to represent a translated state in a template.
Definition at line 949 of file template.py.
◆ __init__()
| None homeassistant.helpers.template.StateTranslated.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass |
|
) |
| |
◆ __call__()
| str | None homeassistant.helpers.template.StateTranslated.__call__ |
( |
|
self, |
|
|
str |
entity_id |
|
) |
| |
Retrieve translated state if available.
Definition at line 956 of file template.py.
◆ __repr__()
| str homeassistant.helpers.template.StateTranslated.__repr__ |
( |
|
self | ) |
|
Representation of Translated state.
Definition at line 974 of file template.py.
◆ _hass
| homeassistant.helpers.template.StateTranslated._hass |
|
private |
The documentation for this class was generated from the following file: