mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +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)
|
name = self._config.get(CONF_NAME)
|
||||||
|
|
||||||
if name is not None:
|
if name is not None:
|
||||||
return CONF_NAME
|
return name
|
||||||
|
|
||||||
if self.track_home:
|
if self.track_home:
|
||||||
return self.hass.config.location_name
|
return self.hass.config.location_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user