mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00: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:
		| @@ -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", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user