diff --git a/homeassistant/scripts/check_config.py b/homeassistant/scripts/check_config.py index 986630e4db0..19dc275e163 100644 --- a/homeassistant/scripts/check_config.py +++ b/homeassistant/scripts/check_config.py @@ -146,7 +146,7 @@ def run(script_args: List) -> int: print(' -', skey + ':', sval, color('cyan', '[from:', flatsecret .get(skey, 'keyring') + ']')) - return 0 + return len(res['except']) def check(config_path):