mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix docstring in helpers.template_entity (#86227)
This commit is contained in:
parent
f00aadfc25
commit
656632f504
@ -283,6 +283,8 @@ class TemplateEntity(Entity):
|
|||||||
Called to store the template result rather than storing it
|
Called to store the template result rather than storing it
|
||||||
the supplied attribute. Passed the result of the validator, or None
|
the supplied attribute. Passed the result of the validator, or None
|
||||||
if the template or validator resulted in an error.
|
if the template or validator resulted in an error.
|
||||||
|
none_on_template_error
|
||||||
|
If True, the attribute will be set to None if the template errors.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
assert self.hass is not None, "hass cannot be None"
|
assert self.hass is not None, "hass cannot be None"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user