mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Use Utility Meter configured name as friendly name (#53051)
This commit is contained in:
parent
4075e83732
commit
da7b292855
@ -76,7 +76,7 @@ async def async_setup(hass, config):
|
|||||||
hass,
|
hass,
|
||||||
SENSOR_DOMAIN,
|
SENSOR_DOMAIN,
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
[{CONF_METER: meter, CONF_NAME: meter}],
|
[{CONF_METER: meter, CONF_NAME: conf.get(CONF_NAME, meter)}],
|
||||||
config,
|
config,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user