Return correct name for met.no (#24763)

This commit is contained in:
Daniel Høyer Iversen authored and Paulus Schoutsen committed 2019-06-26 09:17:35 -07:00
1 parent 760b62e068
commit 5fe8a43e36
1 file changed
+1 -1
+1 -1
View File
@@ -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