Reintroduce custom met.no url (#39583)

This commit is contained in:
Daniel Hjelseth Høyer
2020-09-02 20:56:23 +02:00
committed by GitHub
parent e3354895f8
commit 97602a127a
+4 -1
View File
@@ -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):