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 includes several updates to the
ha-sagemcom-fast
project. The changes focus on upgrading dependencies, improving error handling, and enhancing the configuration and setup process. Below is a summary of the most important changes:Dependency Upgrades:
.devcontainer/devcontainer.json
to use Python 3.12..pre-commit-config.yaml
.sagemcom_api
requirement to version 1.3.2 incustom_components/sagemcom_fast/manifest.json
.Configuration and Setup Enhancements:
postCreateCommand
in.devcontainer/devcontainer.json
to include additional package installations.README.md
to clarify the potential delay due to encryption method retrieval.async_setup_entry
method incustom_components/sagemcom_fast/__init__.py
for better error handling and initial setup. [1] [2]Error Handling Improvements:
LoginRetryErrorException
andUnsupportedHostException
incustom_components/sagemcom_fast/config_flow.py
andcustom_components/sagemcom_fast/coordinator.py
. [1] [2]custom_components/sagemcom_fast/strings.json
andcustom_components/sagemcom_fast/translations/en.json
to reflect new error conditions. [1] [2]Codebase Simplification:
ConfigFlow
class incustom_components/sagemcom_fast/config_flow.py
. [1] [2]These changes collectively enhance the robustness, maintainability, and user experience of the
ha-sagemcom-fast
integration.