mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Remove not used constants in smhi (#139298)
This commit is contained in:
parent
81db3dea41
commit
3230e741e9
@ -3,7 +3,6 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from collections.abc import Mapping
|
from collections.abc import Mapping
|
||||||
from datetime import timedelta
|
|
||||||
from typing import Any, Final
|
from typing import Any, Final
|
||||||
|
|
||||||
from pysmhi import SMHIForecast
|
from pysmhi import SMHIForecast
|
||||||
@ -80,12 +79,6 @@ CONDITION_MAP = {
|
|||||||
for cond_code in cond_codes
|
for cond_code in cond_codes
|
||||||
}
|
}
|
||||||
|
|
||||||
TIMEOUT = 10
|
|
||||||
# 5 minutes between retrying connect to API again
|
|
||||||
RETRY_TIMEOUT = 5 * 60
|
|
||||||
|
|
||||||
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=31)
|
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user