Skip to content

Commit

Permalink
Fix config flow when there are no global settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ekutner committed Feb 13, 2024
1 parent 184d1d2 commit ccdf73a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/home_connect_alt/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ def set_global_config(cls, global_config:dict):
@classmethod
def get_global_config(cls):
"""Return the global config"""
return cls._global_config
return cls._global_config if cls._global_config else {}
2 changes: 1 addition & 1 deletion custom_components/home_connect_alt/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"requirements": ["home-connect-async==0.8.0"],
"loggers": ["home_connect_alt", "home_connect_async"],
"ssdp": [],
"version": "1.1.0-b2",
"version": "1.1.0-b3",
"zeroconf": []
}

0 comments on commit ccdf73a

Please sign in to comment.