1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00
This commit is contained in:
J. Nick Koston
2025-10-07 21:22:34 -10:00
parent 52f2826d38
commit ac7bd4137f
2 changed files with 1 additions and 4 deletions

View File

@@ -123,9 +123,6 @@ async def to_code(config):
if "api" in CORE.config:
# Always: get_mac_address()
dynamic_txt_count += 1
# Conditional: friendly_name (if not empty)
if CORE.friendly_name:
dynamic_txt_count += 1
# Conditional: dashboard_import_url
if "dashboard_import" in CORE.config:
dynamic_txt_count += 1