2018-12-18 11:23:58 ERROR (MainThread) [homeassistant.components.weather] Error while setting up platform colorfulclouds
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/pi/.homeassistant/custom_components/weather/colorfulclouds.py", line 27, in setup_platform
name=config.get(CONF_NAME, 'colorfulclouds'))])
File "/home/pi/.homeassistant/custom_components/weather/colorfulclouds.py", line 39, in __init__
self.update()
File "/home/pi/.homeassistant/custom_components/weather/colorfulclouds.py", line 94, in update
self._realtime_data = json.loads(json_text)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'