Advertisement
Guest User

Untitled

a guest
May 19th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. 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>
  2. Traceback (most recent call last):
  3. File "uvloop/cbhandles.pyx", line 68, in uvloop.loop.Handle._run
  4. File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 82, in state_change_listener
  5. event.data.get('new_state'))
  6. File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 333, in async_run_job
  7. target(*args)
  8. File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 103, in template_condition_listener
  9. template_result = condition.async_template(hass, template, variables)
  10. File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/condition.py", line 331, in async_template
  11. value = value_template.async_render(variables)
  12. File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/template.py", line 140, in async_render
  13. return self._compiled.render(kwargs).strip()
  14. File "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
  15. return original_render(self, *args, **kwargs)
  16. File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
  17. return self.environment.handle_exception(exc_info, True)
  18. File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
  19. reraise(exc_type, exc_value, tb)
  20. File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
  21. raise value.with_traceback(tb)
  22. File "<template>", line 1, in top-level template code
  23. TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement