Skip to content

Wunderground not working since 0.65 #13012

@arsaboo

Description

@arsaboo

Home Assistant release (hass --version): 0.65

Python release (python3 --version): 3.6.2

Component/platform: Wunderground

Description of problem: Seeing the following errors since the update.

2018-03-09 14:24:47 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform wunderground
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 82, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/wunderground.py", line 647, in async_setup_platform
    yield from rest.async_update()
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/wunderground.py", line 787, in async_update
    result = yield from response.json()
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator

cc: @OttoWinter looks like it is related to #12385

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions