Skip to content

Commit

Permalink
Remove redundant function from config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
studiojw committed Jul 17, 2024
1 parent 1e88ea1 commit 7aa08ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions custom_components/ice_cream_benelux/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ def get_data_schema(home_lat, home_lon):
)


def validate_user_input(user_input, errors):
"""Validate user input."""
if len(user_input[CONF_COMPANIES]) == 0:
errors["base"] = "no_companies"


class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
"""Config flow."""

Expand Down
2 changes: 1 addition & 1 deletion custom_components/ice_cream_benelux/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/studiojw/ice-cream-benelux-ha/issues",
"requirements": [],
"version": "1.1.2"
"version": "1.1.3"
}

0 comments on commit 7aa08ed

Please sign in to comment.