mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
spelling: components/eafm (#64257)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
80b367b446
commit
34f0ec0e7b
@ -1,4 +1,4 @@
|
|||||||
"""Support for guages from flood monitoring API."""
|
"""Support for gauges from flood monitoring API."""
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ async def async_setup_entry(
|
|||||||
measurements = set()
|
measurements = set()
|
||||||
|
|
||||||
async def async_update_data():
|
async def async_update_data():
|
||||||
# DataUpdateCoordinator will handle aiohttp ClientErrors and timouts
|
# DataUpdateCoordinator will handle aiohttp ClientErrors and timeouts
|
||||||
async with async_timeout.timeout(30):
|
async with async_timeout.timeout(30):
|
||||||
data = await get_station(session, station_key)
|
data = await get_station(session, station_key)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user