mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Reintroduce custom met.no url (#39583)
This commit is contained in:
parent
e3354895f8
commit
97602a127a
@ -22,6 +22,9 @@ import homeassistant.util.dt as dt_util
|
||||
|
||||
from .const import CONF_TRACK_HOME, DOMAIN
|
||||
|
||||
URL = "https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete"
|
||||
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@ -139,7 +142,7 @@ class MetWeatherData:
|
||||
}
|
||||
|
||||
self._weather_data = metno.MetWeatherData(
|
||||
coordinates, async_get_clientsession(self.hass)
|
||||
coordinates, async_get_clientsession(self.hass), api_url=URL
|
||||
)
|
||||
|
||||
async def fetch_data(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user