mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix a spelling problem on user-facing error
This commit is contained in:
parent
626763a7c3
commit
9aa88819a5
@ -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…
x
Reference in New Issue
Block a user