Traceback (most recent call last):


 "/usr/lib64/python3.6/site-packages/rdiff_backup/log.py", line 299, in get_indexpath

return obj.get_safeindexpath()
AttributeError: 'tuple' object has no attribute 'get_safeindexpath'

Traceback (most recent call last):


 "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state

await self.async_device_update()


 "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup

future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 293, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/zoneminder/sensor.py", line 126, in update

self.time_period, self._include_archived)


 "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/zoneminder/monitor.py", line 175, in get_events

return event['results'].get(str(self._monitor_id), 0)
AttributeError: 'list' object has no attribute 'get'
