mirror of
https://github.com/esphome/esphome.git
synced 2026-10-20 04:56:48 +00:00
[core] Use get_declaring_config in ID matching
This commit is contained in:
+1
-3
@@ -1136,9 +1136,7 @@ class IDPassValidationStep(ConfigValidationStep):
|
||||
m
|
||||
for m in matches
|
||||
if isinstance(
|
||||
candidate_conf := result.get_config_for_path(
|
||||
result.get_path_for_id(m)[:-1]
|
||||
),
|
||||
candidate_conf := fv.get_declaring_config(m, result),
|
||||
dict,
|
||||
)
|
||||
and all(
|
||||
|
||||
Reference in New Issue
Block a user