djiest

HA Garbage component

Mar 14th, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Sat Mar 14 2020 16:22:18 GMT+0100 (Central European Standard Time)
  2. Update for sensor.date_grey fails
  3. Traceback (most recent call last):
  4. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
  5. await self.async_device_update()
  6. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
  7. await self.async_update()
  8. File "/usr/src/homeassistant/homeassistant/components/template/sensor.py", line 224, in async_update
  9. self._state = self._template.async_render()
  10. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 222, in async_render
  11. return compiled.render(kwargs).strip()
  12. File "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
  13. return original_render(self, *args, **kwargs)
  14. File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
  15. return self.environment.handle_exception(exc_info, True)
  16. File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
  17. reraise(exc_type, exc_value, tb)
  18. File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
  19. raise value.with_traceback(tb)
  20. File "<template>", line 1, in top-level template code
  21. File "/usr/local/lib/python3.7/site-packages/jinja2/sandbox.py", line 440, in call
  22. return __context.call(__obj, *args, **kwargs)
  23. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 814, in strptime
  24. return datetime.strptime(string, fmt)
  25. TypeError: strptime() argument 1 must be str, not None
Advertisement
Add Comment
Please, Sign In to add comment