Met.no migrate from classic to complete endpoint (#39493)

This commit is contained in:
Michael Thingnes authored and GitHub committed 2020-09-02 14:11:13 +02:00
1 parent ec6a1f9137
commit 0892acbabd
9 files changed
+257 -26

No files matched your search

+1 -4
View File
@@ -22,9 +22,6 @@ import homeassistant.util.dt as dt_util
from .const import CONF_TRACK_HOME, DOMAIN
URL = "https://api.met.no/weatherapi/locationforecast/2.0/classic"
_LOGGER = logging.getLogger(__name__)
@@ -142,7 +139,7 @@ class MetWeatherData:
}
self._weather_data = metno.MetWeatherData(
coordinates, async_get_clientsession(self.hass), URL
coordinates, async_get_clientsession(self.hass)
)
async def fetch_data(self):