From dc89499116efaf73775525df73ca1463348f508d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Tue, 25 Jun 2019 22:09:04 +0200 Subject: [PATCH] Return correct name for met.no (#24763) --- homeassistant/components/met/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index c9d0912e623..e97918ceba1 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -166,7 +166,7 @@ class MetWeather(WeatherEntity): name = self._config.get(CONF_NAME) if name is not None: - return CONF_NAME + return name if self.track_home: return self.hass.config.location_name