mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
substitutions: Don't warn when passwords look like a substitution (#4161)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
b8ca40170e
commit
7466773ac8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def _expand_substitutions(substitutions, value, path, ignore_missing):
|
|||
if name.startswith("{") and name.endswith("}"):
|
||||
name = name[1:-1]
|
||||
if name not in substitutions:
|
||||
if not ignore_missing:
|
||||
if not ignore_missing and "password" not in path:
|
||||
_LOGGER.warning(
|
||||
"Found '%s' (see %s) which looks like a substitution, but '%s' was "
|
||||
"not declared",
|
||||
|
|
Loading…
Reference in a new issue