Skip to content

Fix typo C02 to CO2#20306

Merged
balloob merged 5 commits intohome-assistant:devfrom
reefab:air_quality_foobot
Jan 22, 2019
Merged

Fix typo C02 to CO2#20306
balloob merged 5 commits intohome-assistant:devfrom
reefab:air_quality_foobot

Conversation

@reefab
Copy link
Copy Markdown
Contributor

@reefab reefab commented Jan 21, 2019

Description:

There was a typo in the air quality platform, ATTR_CO2 was spelled ATTR_C02, zero instead of big o.

This attribute wasn't used anywhere so no other files needed to be changed.

I took this opportunity to add VOC, Volatile Organic Compounds to the attributes list.
Considering many, if not most, indoor air quality devices derives their CO2 measurement from a VOC sensor.

Context: I'm migrating the foobot component from sensor to the air quality platform.

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 balloob Jan 22, 2019
@balloob balloob changed the title Fix typo C02 to CO2 and added VOC to air quality platform Fix typo C02 to CO2 Jan 22, 2019
Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo fix is good.

Adding a new attribute to an entity component requires an architecture issue.

@reefab
Copy link
Copy Markdown
Contributor Author

reefab commented Jan 22, 2019

Issue created: home-assistant/architecture#136

@balloob balloob mentioned this pull request Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants