Skip to content

Commit

Permalink
fix: mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Dec 21, 2024
1 parent ab4c55e commit 0b28509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/state_webhook/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

async def validate_webhook(handler: SchemaCommonFlowHandler, user_input: dict[str, Any]) -> dict[str, Any]:
try:
url = user_input.get(CONF_WEBHOOK_URL)
url = str(user_input.get(CONF_WEBHOOK_URL))
cv.url(url)
except vol.Invalid as err:
raise SchemaFlowError("Invalid URL") from err
Expand Down

0 comments on commit 0b28509

Please sign in to comment.