From 656632f5040be8d39703f9e13a0e979c21998634 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Fri, 20 Jan 2023 04:24:44 +0200 Subject: [PATCH] Fix docstring in helpers.template_entity (#86227) --- homeassistant/helpers/template_entity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/helpers/template_entity.py b/homeassistant/helpers/template_entity.py index e3907217988..3de42f8fc98 100644 --- a/homeassistant/helpers/template_entity.py +++ b/homeassistant/helpers/template_entity.py @@ -283,6 +283,8 @@ class TemplateEntity(Entity): Called to store the template result rather than storing it the supplied attribute. Passed the result of the validator, or None 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"