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: Show icon for air pollution level, based on its value #18482

Merged
merged 1 commit into from Nov 15, 2018

Conversation

Projects
None yet
3 participants
@leppa
Contributor

leppa commented Nov 15, 2018

Description:

Show excited, happy, neutral, sad, dead emoticon, or biohazard icon, based on air pollution level.

Also, fix a small typo and change air quality index icon to mdi:chart-line. Seems a bit more logical.

Example entry for configuration.yaml (if applicable):

sensor:
  - platform: airvisual
    api_key: YOUR_AIRVISUAL_API_KEY

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
AirVisual: Show icon for air pollution level, based on its value
Show excited, happy, neutral, sad, dead emoticon, or biohazard icon,
based on air pollution level.

Also, fix a small typo and change air quality index icon to
`mdi:chart-line`. Seems a bit more logical.

@leppa leppa force-pushed the leppa:airvisual branch from 358613e to bbe61fa Nov 15, 2018

@bachya

Nice! Small comment.

@bachya

bachya approved these changes Nov 15, 2018

@bachya bachya merged commit d1b5bc1 into home-assistant:dev Nov 15, 2018

5 checks passed

Hound No violations found. Woof!
WIP Legacy commit status override — see details
Details
cla-bot Everyone involved has signed the CLA
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 93.055%
Details

@wafflebot wafflebot bot removed the in progress label Nov 15, 2018

@bachya

This comment has been minimized.

Contributor

bachya commented Nov 15, 2018

Thank you! 😎

@leppa leppa deleted the leppa:airvisual branch Nov 15, 2018

@balloob balloob referenced this pull request Nov 29, 2018

Merged

0.83 #18776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment