@jaalperin wrote:
New today —
Wed Feb 26 2020 13:08:43 GMT-0500 (Eastern Standard Time)
Error handling message: Unknown error
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 221, in async_render
return compiled.render(kwargs).strip()
File “/usr/local/lib/python3.7/site-packages/jinja2/environment.py”, line 1090, in render
self.environment.handle_exception()
File “/usr/local/lib/python3.7/site-packages/jinja2/environment.py”, line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File “/usr/local/lib/python3.7/site-packages/jinja2/_compat.py”, line 28, in reraise
raise value.with_traceback(tb)
File “”, line 1, in top-level template code
File “/usr/local/lib/python3.7/site-packages/jinja2/sandbox.py”, line 407, in getattr
value = getattr(obj, attribute)
jinja2.exceptions.UndefinedError: ‘binary_sensor’ is undefinedDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py”, line 95, in async_handle
handler(self.hass, self, schema(msg))
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 254, in handle_render_template
state_listener()
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 242, in state_listener
msg[“id”], {“result”: template.async_render(variables)}
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 223, in async_render
raise TemplateError(err)
homeassistant.exceptions.TemplateError: UndefinedError: ‘binary_sensor’ is undefinedThe error seems associated with a particular Lovelace View.
Any suggestions will be appreciated.
Posts: 2
Participants: 2