Rename air pollutants to air quality#19448
Conversation
MartinHjelmare
left a comment
There was a problem hiding this comment.
Have we released any of the air pollutants platforms yet? If not, this is not a breaking change.
|
No, moved them manually.
It's not a breaking change, air pollutants will be on the next release.
…On Wed, Dec 19, 2018, 10:32 Martin Hjelmare ***@***.*** wrote:
***@***.**** commented on this pull request.
Have we released any of the air pollutants platforms yet? If not, this is
not a breaking change.
------------------------------
In tests/components/air_quality/__init__.py
<#19448 (comment)>
:
> @@ -0,0 +1 @@
+"""The tests for Air Quality platforms."""
Was the renamed modules moved with git mv one module per commit?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#19448 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH2OZ_SWz3vgMLd_Vnhk3CzX8obWutXxks5u6gewgaJpZM4ZZs1C>
.
|
c072a1c to
9cd278e
Compare
|
The last force push should fix your concerns! @MartinHjelmare |
|
Let's make sure we have a decision in the architecture issue before we merge this. |
|
ok! @MartinHjelmare I'm setting it as a WIP |
e542897 to
b2034a7
Compare
|
Let's see if it works now :) @MartinHjelmare |
MartinHjelmare
left a comment
There was a problem hiding this comment.
The test module move worked now, but not the package, but that's ok I think.
|
|
||
| For more details about this platform, please refer to the documentation at | ||
| https://home-assistant.io/components/air_pollutants_opensensemap/ | ||
| https://home-assistant.io/components/air_quality_opensensemap/ |
There was a problem hiding this comment.
The url is wrong. Look at eg a sensor platform to see the correct path format.
| @@ -1,4 +1,4 @@ | |||
| """The tests for the Air Pollutants component.""" | |||
| """The tests for the Air Quality component.""" | |||
| from homeassistant.components.air_pollutants import ( | |||
There was a problem hiding this comment.
This module also needs updating.
|
Should we merge this first or the other platforms that are going under air pollutants? If we merge the others first we would need to convert them too here. |
|
We should put this in beta I think ? |
|
@balloob yep, should be in beta :) |
* mv component folder * moved in airquality * changed names in files * renamed test init * renamed test air quality * renamed in tests * renamed coverage * fixed naming * corrected attr names * changed attr names
* mv component folder * moved in airquality * changed names in files * renamed test init * renamed test air quality * renamed in tests * renamed coverage * fixed naming * corrected attr names * changed attr names
* mv component folder * moved in airquality * changed names in files * renamed test init * renamed test air quality * renamed in tests * renamed coverage * fixed naming * corrected attr names * changed attr names
* mv component folder * moved in airquality * changed names in files * renamed test init * renamed test air quality * renamed in tests * renamed coverage * fixed naming * corrected attr names * changed attr names
Description:
Rename air pollutants to air quality
Related issue (if applicable): fixes home-assistant/architecture#122
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#7901
Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.If the code does not interact with devices: