### Summary of Changes
- Removed Python version 3.14 from the CI workflow matrix for service-adapters.
- Consolidated pytest commands in the CI workflow to streamline test execution and coverage reporting.
- Added coverage report files (`.coverage`, `coverage.xml`, `junit.xml`) to the `.gitignore` to prevent tracking of generated reports.
### Expected Results
- Enhanced CI process efficiency and maintained a clean repository by ignoring unnecessary coverage files.
### Summary of Changes
- Changed the host binding in `main.py` from `0.0.0.0` to `127.0.0.1` to restrict access to localhost, enhancing security by preventing external access.
### Expected Results
- Improved security posture of the service-adapters module by limiting the network exposure of the application.
### Summary of Changes
- Updated the type hinting in `events.py` to use `cast` for the list of events retrieved from Redis, ensuring type safety and clarity in the code.
### Expected Results
- Improved type checking and maintainability of the service-adapters module, enhancing overall code quality.
### Summary of Changes
- Deleted the `main_old.py` file, which contained outdated code and was no longer in use.
- Updated type hinting in `events.py` to specify the type of events retrieved from Redis.
### Expected Results
- Cleaned up the codebase by removing unnecessary files, improving maintainability and clarity of the service-adapters module.
### Summary of Changes
- Added `--asyncio-mode=auto` to `pytest.ini` for better async test handling.
- Corrected patch decorators in `test_general_routes.py` and `test_home_assistant_routes.py` to reference the correct services.
- Enhanced test assertions in `test_home_assistant_routes.py` to verify service availability and response codes.
- Improved clarity and maintainability of test code by applying clean code principles.
### Expected Results
- Improved test execution for asynchronous code and better organization of test cases.
- Enhanced reliability of Home Assistant route tests, ensuring accurate service behavior verification.
### Summary of Changes
- Updated the `isort` command in both CI workflows to include the `--profile black` option for consistent code formatting.
- Refactored function definitions in service adapters to improve readability by consolidating parameters into single lines.
### Expected Results
- Enhanced consistency in code formatting checks across CI workflows, ensuring adherence to the Black style guide.
- Improved readability and maintainability of function definitions in service adapters.
### Summary of Changes
- Removed unnecessary blank lines and standardized import statements across test files.
- Ensured consistent use of quotes in patch decorators and improved formatting of test data structures.
- Enhanced readability and maintainability of test code by applying clean code principles.
### Expected Results
- Improved clarity and consistency in test code, facilitating easier understanding and future modifications.
### Summary of Changes
- Introduced a step to create a `tests/reports` directory in both CI workflows for Service Adapters and the main CI configuration.
- This ensures that test reports have a designated location for output, improving organization and accessibility.
### Expected Results
- Enhanced structure for test report generation, facilitating easier access to test results and improving overall CI workflow clarity.
### Summary of Changes
- Removed specific version numbers from Python dependencies in `requirements.txt` for service adapters to allow for more flexible updates.
- Ensured consistency in dependency management across the project.
### Expected Results
- Improved maintainability and ease of updates for Python packages in the service adapters.
### Summary of Changes
- Replaced `sonar-scanner` with `pysonar` for SonarQube analysis in CI workflows for Service Adapters.
- Updated installation instructions and command parameters for consistency across workflows.
### Expected Results
- Improved compatibility and maintainability of SonarQube integration in CI configurations.
### Summary of Changes
- Added SonarQube analysis steps to all CI workflows (API Docs, API Gateway, Frontend, Service Adapters).
- Configured SonarQube properties for each service to ensure proper reporting and analysis.
- Enhanced test coverage reporting by specifying multiple coverage reporters in test commands.
- Updated Maven and Python dependencies to include SonarQube integration tools.
### Expected Results
- CI pipelines will now send test and coverage results to SonarQube for better quality tracking.
- Improved visibility into code quality and test coverage across all services.