Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-05-19 11:29:01 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <function async_track_state_change.<locals>.state_change_listener at 0x71701db0>
- Traceback (most recent call last):
- File "uvloop/cbhandles.pyx", line 68, in uvloop.loop.Handle._run
- File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 82, in state_change_listener
- event.data.get('new_state'))
- File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 333, in async_run_job
- target(*args)
- File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 103, in template_condition_listener
- template_result = condition.async_template(hass, template, variables)
- File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/condition.py", line 331, in async_template
- value = value_template.async_render(variables)
- File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/template.py", line 140, in async_render
- return self._compiled.render(kwargs).strip()
- File "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
- return original_render(self, *args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
- return self.environment.handle_exception(exc_info, True)
- File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
- raise value.with_traceback(tb)
- File "<template>", line 1, in top-level template code
- TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement