Hello,
I found this in my log files:
2020-10-06 23:13:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/template/template_entity.py”, line 264, in _async_template_startup
result_info = async_track_template_result(
File “/usr/src/homeassistant/homeassistant/helpers/event.py”, line 792, in async_track_template_result
tracker.async_setup()
File “/usr/src/homeassistant/homeassistant/helpers/event.py”, line 518, in async_setup
self._info[template] = template.async_render_to_info(variables)
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 306, in async_render_to_info
render_info._result = self.async_render(variables, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 285, in async_render
return compiled.render(kwargs).strip()
File “/usr/local/lib/python3.8/site-packages/jinja2/environment.py”, line 1090, in render
self.environment.handle_exception()
File “/usr/local/lib/python3.8/site-packages/jinja2/environment.py”, line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File “/usr/local/lib/python3.8/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.8/site-packages/jinja2/sandbox.py”, line 462, in call
return __context.call(__obj, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 1119, in wrapper
return func(hass, *args[1:], **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 752, in is_state
state_obj = _get_state(hass, entity_id)
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 558, in _get_state
state = hass.states.get(entity_id)
File “/usr/src/homeassistant/homeassistant/core.py”, line 950, in get
return self._states.get(entity_id.lower())
AttributeError: ‘bool’ object has no attribute ‘lower’
It appears only once every time I restart Home Assistant. I’m running Hassio 0.115.6
Best regards,
Jeroen