diff --git a/esphome/core/config.py b/esphome/core/config.py index 68c38ed407..f4253bee87 100644 --- a/esphome/core/config.py +++ b/esphome/core/config.py @@ -5,7 +5,6 @@ import re from esphome import automation import esphome.codegen as cg -from esphome.components.zephyr import zephyr_add_prj_conf import esphome.config_validation as cv from esphome.const import ( CONF_ARDUINO_VERSION, @@ -359,9 +358,6 @@ async def to_code(config): ) ) - if CORE.using_zephyr: - zephyr_add_prj_conf("BT_DEVICE_NAME", config[CONF_NAME]) - CORE.add_job(_add_automations, config) cg.add_build_flag("-fno-exceptions")