Skip to content

Commit

Permalink
feat: add grand paris sud
Browse files Browse the repository at this point in the history
  • Loading branch information
acesyde committed Dec 2, 2023
1 parent ecfe312 commit a8ba9da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/eau_agur/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ async def async_step_user(self, user_input=None) -> config_entries.FlowResult:
_errors: dict[str, str] = {}
if user_input is not None:
try:
default_provider = PROVIDERS["agur"]
config_provider = PROVIDERS.get(user_input[CONF_PROVIDER], default_provider)
config_provider = PROVIDERS.get(user_input[CONF_PROVIDER], None)
if config_provider is None:
raise AgurApiError("Provider not found")

Expand Down

0 comments on commit a8ba9da

Please sign in to comment.