Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airvisual Error #16705

Closed
vlad36N opened this issue Sep 19, 2018 · 1 comment
Closed

Airvisual Error #16705

vlad36N opened this issue Sep 19, 2018 · 1 comment

Comments

@vlad36N
Copy link

vlad36N commented Sep 19, 2018

Home Assistant release with the issue:
Home Assistant 0.78.0

Last working Home Assistant release (if known):
Home Assistant 0.77.0

Hass.io

https://www.home-assistant.io/components/sensor.airvisual/

Log Details (ERROR)
Tue Sep 18 2018 21:47:17 GMT-0400 (Eastern Daylight Time)

Error while setting up platform airvisual
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/airvisual.py", line 155, in async_setup_platform
    await data.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/airvisual.py", line 283, in _async_update
    self.pollution_info = resp['current']['pollution']
KeyError: 'pollution'
@MartinHjelmare
Copy link
Member

Fixed in #16673.

@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants