Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.7/site-packages/pyvera/subscribe.py", line 155, in _event_device

callback(device)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/vera/__init__.py", line 162, in _update_callback

self.schedule_update_ha_state(True)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 430, in schedule_update_ha_state

self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'

Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 1103, in upload_media_file

service.upload_file(target_dir, filename, camera_name)


 "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 103, in upload_file

self.upload_data(rel_filename, mime_type, data, ctime, camera_name)


 "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 357, in upload_data

'parents': [{'id': self._get_folder_id(path)}]


 "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 394, in _get_folder_id

if not location.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
