mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +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 collections.abc import Mapping
|
||||
from datetime import timedelta
|
||||
from typing import Any, Final
|
||||
|
||||
from pysmhi import SMHIForecast
|
||||
@ -80,12 +79,6 @@ CONDITION_MAP = {
|
||||
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(
|
||||
hass: HomeAssistant,
|
||||
|
Loading…
x
Reference in New Issue
Block a user