mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Bump pyairnow to 1.3.1 (#147388)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
This commit is contained in:
parent
7b8ebb0803
commit
42aaa888a1
@ -71,7 +71,7 @@ class AirNowDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
||||
|
||||
async def _async_update_data(self) -> dict[str, Any]:
|
||||
"""Update data via library."""
|
||||
data = {}
|
||||
data: dict[str, Any] = {}
|
||||
try:
|
||||
obs = await self.airnow.observations.latLong(
|
||||
self.latitude,
|
||||
|
@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/airnow",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["pyairnow"],
|
||||
"requirements": ["pyairnow==1.2.1"]
|
||||
"requirements": ["pyairnow==1.3.1"]
|
||||
}
|
||||
|
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@ -1832,7 +1832,7 @@ pyaehw4a1==0.3.9
|
||||
pyaftership==21.11.0
|
||||
|
||||
# homeassistant.components.airnow
|
||||
pyairnow==1.2.1
|
||||
pyairnow==1.3.1
|
||||
|
||||
# homeassistant.components.airvisual
|
||||
# homeassistant.components.airvisual_pro
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -1534,7 +1534,7 @@ pyaehw4a1==0.3.9
|
||||
pyaftership==21.11.0
|
||||
|
||||
# homeassistant.components.airnow
|
||||
pyairnow==1.2.1
|
||||
pyairnow==1.3.1
|
||||
|
||||
# homeassistant.components.airvisual
|
||||
# homeassistant.components.airvisual_pro
|
||||
|
@ -12,7 +12,7 @@
|
||||
'Longitude': '**REDACTED**',
|
||||
'O3': 0.048,
|
||||
'PM10': 12,
|
||||
'PM2.5': 8.9,
|
||||
'PM2.5': 6.7,
|
||||
'Pollutant': 'O3',
|
||||
'ReportingArea': '**REDACTED**',
|
||||
'StateCode': '**REDACTED**',
|
||||
|
Loading…
x
Reference in New Issue
Block a user