Skip to content

Handle country detection failures#60

Open
IoannisArmamentos wants to merge 1 commit into
krissen:masterfrom
IoannisArmamentos:fix/config-flow-country-detection-fallback
Open

Handle country detection failures#60
IoannisArmamentos wants to merge 1 commit into
krissen:masterfrom
IoannisArmamentos:fix/config-flow-country-detection-fallback

Conversation

@IoannisArmamentos

Copy link
Copy Markdown

Avoid crashing the config flow when country auto detection fails.

Reverse geocoding now uses Home Assistant's shared aiohttp session and returns None on connection, timeout, or JSON errors so the config flow can fall back to its default country.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant