This project is a web application designed to help users manage their Home Assistant devices and mappings, focusing on creating virtual three-way switch setups and virtual parallel switch setups throught Node-RED. The application allows users to independently manage their own device configurations and mappings.
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.
settings.html
to include the button and display connection test results./test_connection
route inroutes.py
to handle connection tests and provide user-friendly error messages.Reasons: