[esphome] Warn when a YAML merge (<<:) drops a key (#17246)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Clyde Stubbs
2026-06-29 07:17:01 +10:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent a336ad6732
commit 5f311d281e
7 changed files with 150 additions and 1 deletions
+1 -1
View File
@@ -555,7 +555,7 @@ def lint_constants_usage():
# Maximum allowed CONF_ constants in esphome/const.py.
# This file is frozen — new constants go in esphome/components/const/__init__.py.
# Decrease this number when constants are moved out of const.py.
CONST_PY_MAX_CONF = 1013
CONST_PY_MAX_CONF = 1014
@lint_content_check(include=["esphome/const.py"])