mirror of
https://github.com/esphome/esphome.git
synced 2026-08-27 00:18:32 +00:00
[sensor] Defer integration imports out of module scope
This commit is contained in:
+1
-1
@@ -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 = 1024
|
||||
CONST_PY_MAX_CONF = 1025
|
||||
|
||||
|
||||
@lint_content_check(include=["esphome/const.py"])
|
||||
|
||||
Reference in New Issue
Block a user