Skip to content
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

Bump aioairq to 0.3.1 #104659

Merged
merged 4 commits into from Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion homeassistant/components/airq/const.py
Expand Up @@ -3,7 +3,6 @@

DOMAIN: Final = "airq"
MANUFACTURER: Final = "CorantGmbH"
TARGET_ROUTE: Final = "average"
CONCENTRATION_GRAMS_PER_CUBIC_METER: Final = "g/m³"
ACTIVITY_BECQUEREL_PER_CUBIC_METER: Final = "Bq/m³"
UPDATE_INTERVAL: float = 10.0
6 changes: 2 additions & 4 deletions homeassistant/components/airq/coordinator.py
Expand Up @@ -13,7 +13,7 @@
from homeassistant.helpers.device_registry import DeviceInfo
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator

from .const import DOMAIN, MANUFACTURER, TARGET_ROUTE, UPDATE_INTERVAL
from .const import DOMAIN, MANUFACTURER, UPDATE_INTERVAL

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -56,6 +56,4 @@ async def _async_update_data(self) -> dict:
hw_version=info["hw_version"],
)
)

data = await self.airq.get(TARGET_ROUTE)
return self.airq.drop_uncertainties_from_data(data)
return await self.airq.get_latest_data()
2 changes: 1 addition & 1 deletion homeassistant/components/airq/manifest.json
Expand Up @@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "local_polling",
"loggers": ["aioairq"],
"requirements": ["aioairq==0.2.4"]
"requirements": ["aioairq==0.3.1"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -185,7 +185,7 @@ aio-geojson-usgs-earthquakes==0.2
aio-georss-gdacs==0.8

# homeassistant.components.airq
aioairq==0.2.4
aioairq==0.3.1

# homeassistant.components.airzone_cloud
aioairzone-cloud==0.3.6
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -164,7 +164,7 @@ aio-geojson-usgs-earthquakes==0.2
aio-georss-gdacs==0.8

# homeassistant.components.airq
aioairq==0.2.4
aioairq==0.3.1

# homeassistant.components.airzone_cloud
aioairzone-cloud==0.3.6
Expand Down