mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Reintroduce custom met.no url (#39583)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user