Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sat Mar 14 2020 16:22:18 GMT+0100 (Central European Standard Time)
- Update for sensor.date_grey fails
- Traceback (most recent call last):
- File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
- await self.async_device_update()
- File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
- await self.async_update()
- File "/usr/src/homeassistant/homeassistant/components/template/sensor.py", line 224, in async_update
- self._state = self._template.async_render()
- File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 222, in async_render
- return 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
- File "/usr/local/lib/python3.7/site-packages/jinja2/sandbox.py", line 440, in call
- return __context.call(__obj, *args, **kwargs)
- File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 814, in strptime
- return datetime.strptime(string, fmt)
- TypeError: strptime() argument 1 must be str, not None
Advertisement
Add Comment
Please, Sign In to add comment