mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Return correct name for met.no (#24763)
This commit is contained in:
parent
41b58b8bc1
commit
dc89499116
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user