iCloud doesn't seem to work after upgrade to 0.104

Looks like iCloud is not working anymore. Two things:


1) max_interval seems to remain to the default value of 30 even if it's configured to a smaller value.

2) after the max interval position of cloud devices is not updated and homeassistant shows this error:


2020-01-24 13:39:26 ERROR (SyncWorker_4) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 424, in keep_alive
    self.update_devices()
  File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 316, in update_devices
    api_devices = self.api.devices
  File "/usr/local/lib/python3.7/site-packages/pyicloud/base.py", line 270, in devices
    self.params
  File "/usr/local/lib/python3.7/site-packages/pyicloud/services/findmyiphone.py", line 28, in __init__
    self.refresh_client()
  File "/usr/local/lib/python3.7/site-packages/pyicloud/services/findmyiphone.py", line 49, in refresh_client
    self.response = req.json()
  File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/simplejson/__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Will be fix in the next release: https://github.com/home-assistant/home-assistant/issues/31039