Return correct name for met.no (#24763)

This commit is contained in:
Daniel Høyer Iversen authored and Paulus Schoutsen committed 2019-06-25 13:09:04 -07:00
1 parent 41b58b8bc1
commit dc89499116
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