Dont default CORE.friendly_name (#4305)

This commit is contained in:
Jesse Hills 2023-01-17 13:15:47 +13:00 committed by GitHub
parent e35f90d6e4
commit efc6a8df35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: