Update version to 1.0.8 and add Airlabs flight details integration #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces an optional integration with the Airlabs Flight API, allowing users to fetch detailed flight information in addition to the existing Avinor data. It adds a new service for retrieving flight details, updates configuration options and documentation, and includes supporting code and test stubs for improved maintainability and usability.
Airlabs Flight API Integration:
AirlabsApiClientclass toapi.pyfor fetching detailed flight information from the Airlabs API, with error handling and parameter validation.get_flight_details(with schema and documentation inservices.yaml) to fetch flight details using the Airlabs API, supporting both configured and per-call API keys. [1] [2]Configuration and User Experience:
const.pywith new constants for Airlabs integration and service naming. [1] [2]Documentation and Metadata:
README.mdwith instructions for the new Airlabs flight details feature, including service usage examples and configuration guidance. [1] [2] [3]manifest.jsonto reflect the new feature.Testing Support:
tests/conftest.pyto provide stubs for Home Assistant modules, enabling unit tests to run outside a full Home Assistant environment.AirlabsApiClient.