Skip to content

Add air pollutants PROP_TO_ATTR#19336

Merged
MartinHjelmare merged 2 commits intodevfrom
air-poll-prop
Dec 17, 2018
Merged

Add air pollutants PROP_TO_ATTR#19336
MartinHjelmare merged 2 commits intodevfrom
air-poll-prop

Conversation

@fabaff
Copy link
Copy Markdown
Member

@fabaff 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.

@ghost ghost assigned fabaff Dec 15, 2018
@ghost ghost added the in progress label Dec 15, 2018
@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
@ghost ghost removed the in progress label Dec 17, 2018
@delete-merged-branch delete-merged-branch bot deleted the air-poll-prop branch December 17, 2018 18:38
dshokouhi pushed a commit to dshokouhi/home-assistant that referenced this pull request Dec 25, 2018
* Add PROP_TO_ATTR

* Change condition
@balloob balloob mentioned this pull request Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants