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

Add air pollutants PROP_TO_ATTR #19336

Merged
merged 2 commits into from Dec 17, 2018

Conversation

Projects
None yet
3 participants
@fabaff
Copy link
Member

fabaff commented Dec 15, 2018

Description:

Use PROP_TO_ATTR dict for state_attributes().

See Comment.

Example entry for configuration.yaml (if applicable):

air_pollutants:
  - platform: demo

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.

@MartinHjelmare MartinHjelmare changed the title Add PROP_TO_ATTR Add air pollutants PROP_TO_ATTR Dec 17, 2018

@MartinHjelmare MartinHjelmare merged commit c7ea1d0 into dev Dec 17, 2018

6 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
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.1%) to 93.031%
Details

@wafflebot wafflebot bot removed the in progress label Dec 17, 2018

@delete-merged-branch delete-merged-branch bot deleted the air-poll-prop branch Dec 17, 2018

dshokouhi added a commit to dshokouhi/home-assistant that referenced this pull request Dec 25, 2018

Add air pollutants PROP_TO_ATTR (home-assistant#19336)
* Add PROP_TO_ATTR

* Change condition

@balloob balloob referenced this pull request Jan 10, 2019

Merged

0.85.0 #19897

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