[core] Read the mqtt IP discovery flag without importing the mqtt component (#18066)

This commit is contained in:
J. Nick Koston
2026-08-04 15:12:57 -05:00
committed by GitHub
parent 79a305d69a
commit d47acf5d0b
6 changed files with 46 additions and 4 deletions
+1 -1
View File
@@ -557,7 +557,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 = 1016
CONST_PY_MAX_CONF = 1017
@lint_content_check(include=["esphome/const.py"])