Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Test Connection btn #9

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Conversation

guimatheus92
Copy link
Owner

  • Added a "Test Connection" button in the Settings page to verify the Home Assistant URL and access token.
  • Updated settings.html to include the button and display connection test results.
  • Implemented the /test_connection route in routes.py to handle connection tests and provide user-friendly error messages.
  • Updated the README to document the new feature and its usage.

Reasons:

  • This feature allows users to verify their Home Assistant credentials before saving settings, improving user experience and reducing configuration errors.

@guimatheus92 guimatheus92 added the enhancement New feature or request label Jul 29, 2024
@guimatheus92 guimatheus92 self-assigned this Jul 29, 2024
@guimatheus92 guimatheus92 merged commit 7cd9585 into main Jul 29, 2024
1 check passed
@guimatheus92 guimatheus92 deleted the users/guimatheus92/test-connection branch July 29, 2024 12:57
@guimatheus92 guimatheus92 linked an issue Jul 29, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fetch entities doesn't work
1 participant