Things have been going haywire the last couple of days, probably due to my tinkering…
I ran two different HA on my network in an attempt to get away from the Pi.
Saw some weird behavior of some of my units turning on and off randomly.
Now I dropped the second instance and kumo doesnt work at all anymore.
I tried deleting kumo_cache,json but it wont start at all when I do that.
With the kumo_cache.json available it now ends with this error message
2020-01-10 14:13:02 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform kumo
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/kumo/climate.py", line 75, in async_setup_platform
name = data.get_account().get_name(unit)
File "/usr/local/lib/python3.7/site-packages/pykumo/pykumo.py", line 464, in get_name
self._fetch_if_needed()
File "/usr/local/lib/python3.7/site-packages/pykumo/pykumo.py", line 417, in _fetch_if_needed
response = requests.post(self._url, headers=headers, data=body)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 313, in prepare
self.prepare_url(url, params)
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 387, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?