[core] Fix area/device hash collision validation not running (#15259)
This commit is contained in:
1 parent
47774fb644
commit
b6abfec82e
5 files changed
+64
-9
No files matched your search
@@ -1006,6 +1006,18 @@ def lint_log_in_header(fname, line, col, content):
|
||||
)
|
||||
|
||||
|
||||
@lint_content_find_check(
|
||||
"FINAL_VALIDATE_SCHEMA",
|
||||
include=["esphome/core/*.py"],
|
||||
exclude=["esphome/core/entity_helpers.py"],
|
||||
)
|
||||
def lint_final_validate_in_core(fname, line, col, content):
|
||||
return (
|
||||
"FINAL_VALIDATE_SCHEMA in esphome/core/ is not picked up by the component loader. "
|
||||
"Use CoreFinalValidateStep in esphome/config.py instead."
|
||||
)
|
||||
|
||||
|
||||
def main():
|
||||
colorama.init()
|
||||
|
||||
|
||||
Reference in new issue
Block a user