mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +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,
|
||||
SENSOR_DOMAIN,
|
||||
DOMAIN,
|
||||
[{CONF_METER: meter, CONF_NAME: meter}],
|
||||
[{CONF_METER: meter, CONF_NAME: conf.get(CONF_NAME, meter)}],
|
||||
config,
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user