diff --git a/supervisor/store/data.py b/supervisor/store/data.py index f9e666d68..1a5103231 100644 --- a/supervisor/store/data.py +++ b/supervisor/store/data.py @@ -65,6 +65,10 @@ class StoreData(CoreSysAttributes): path, "repository", FILE_SUFFIX_CONFIGURATION ) + if repository_file is None: + _LOGGER.warning("No repository information exists at %s", path) + return + try: repository_info = SCHEMA_REPOSITORY_CONFIG( read_json_or_yaml_file(repository_file)