Traceback (most recent call last):


 "/usr/lib/python3.6/asyncio/tasks.py", line 179, in _step

result = coro.send(None)


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity

new_entity, self, update_before_add=update_before_add


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity

yield from entity.async_update_ha_state()


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 256, in async_update_ha_state

self._attr_setter('entity_picture', str, ATTR_ENTITY_PICTURE, attr)


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 323, in _attr_setter

value = getattr(self, name)


 "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/wunderground.py", line 712, in entity_picture

return re.sub(r'^http://', 'https://', url, flags=re.IGNORECASE)


 "/usr/lib/python3.6/re.py", line 191, in sub

return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object

Traceback (most recent call last):


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 652, in _run_async2

result = yield f


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/eventloop/coroutine.py", line 86, in step_next

new_f = coroutine.send(None)


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 595, in _run_async

self._redraw()


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 444, in _redraw

self.renderer.render(self, self.layout)


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/renderer.py", line 557, in render

if (self.style.invalidation_hash() != self._last_style_hash or


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/style.py", line 372, in invalidation_hash

return tuple(s.invalidation_hash() for s in self.styles)


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/style.py", line 372, in <genexpr>

return tuple(s.invalidation_hash() for s in self.styles)


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/base.py", line 140, in invalidation_hash

return (self.get_style() or self._dummy).invalidation_hash()


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/base.py", line 140, in invalidation_hash

return (self.get_style() or self._dummy).invalidation_hash()


 "/home/daniel/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/base.py", line 140, in invalidation_hash

return (self.get_style() or self._dummy).invalidation_hash()


 "/home/daniel/.local/lib/python3.6/site-packages/powerline/renderers/ipython/since_5.py", line 79, in invalidation_hash

return super(PowerlinePromptStyle, self).invalidation_hash() + 1
TypeError: can only concatenate tuple (not "int") to tuple
