Hi I am trying to play around with the fail2ban sensor and I get the following error any ideas ?
2017-11-18 13:05:59 ERROR (MainThread) [homeassistant.components.sensor] Error on device update! Traceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity yield from entity.async_device_update(warning=False) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update yield from self.hass.async_add_job(self.update) File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/fail2ban.py", line 91, in update if self.log_parser.timer(): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/fail2ban.py", line 129, in timer boundary = dt_util.now() - self.interval TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType'