Fix a spelling problem on user-facing error
parent
3e92318cb2
commit
3230869f74
|
@ -283,7 +283,7 @@ def async_template(hass, value_template, variables=None):
|
||||||
try:
|
try:
|
||||||
value = value_template.async_render(variables)
|
value = value_template.async_render(variables)
|
||||||
except TemplateError as ex:
|
except TemplateError as ex:
|
||||||
_LOGGER.error('Error duriong template condition: %s', ex)
|
_LOGGER.error('Error during template condition: %s', ex)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return value.lower() == 'true'
|
return value.lower() == 'true'
|
||||||
|
|
Loading…
Reference in New Issue