I see this error spamming my log file:
17-01-01 22:01:00 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/icloud.py", line 292, in keep_alive
self.update_device(devicename)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/icloud.py", line 345, in update_device
for device in self.api.devices:
File "/home/hass/.homeassistant/deps/pyicloud/base.py", line 270, in devices
self.params
File "/home/hass/.homeassistant/deps/pyicloud/services/findmyiphone.py", line 28, in __init__
self.refresh_client()
File "/home/hass/.homeassistant/deps/pyicloud/services/findmyiphone.py", line 49, in refresh_client
self.response = req.json()
File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/models.py", line 850, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
Anybody has any ideas what might be wrong?
This happens on RasPI running HASS 0.35 and Python 3.4.2. I also have to admit that the location tracking works as expected.