mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
Dont default CORE.friendly_name (#4305)
This commit is contained in:
parent
e35f90d6e4
commit
efc6a8df35
@ -194,7 +194,7 @@ def preload_core_config(config, result):
|
||||
conf = PRELOAD_CONFIG_SCHEMA(config[CONF_ESPHOME])
|
||||
|
||||
CORE.name = conf[CONF_NAME]
|
||||
CORE.friendly_name = conf.get(CONF_FRIENDLY_NAME, CORE.name)
|
||||
CORE.friendly_name = conf.get(CONF_FRIENDLY_NAME)
|
||||
CORE.data[KEY_CORE] = {}
|
||||
|
||||
if CONF_BUILD_PATH not in conf:
|
||||
|
Loading…
Reference in New Issue
Block a user