Skip to content

Add request timeout configuration to Solis integration - #541

Merged
hultenvp merged 3 commits into
hultenvp:masterfrom
patduckless:timeout-workaround
Sep 18, 2026
Merged

hultenvp merged 3 commits into
hultenvp:masterfrom
patduckless:timeout-workaround

Conversation

@patduckless

Copy link
Copy Markdown
Collaborator

This PR introduces changes that have been causing data to not be captured due to long response times from the solis API.

  • Introduced CONF_REQUEST_TIMEOUT and DEFAULT_REQUEST_TIMEOUT constants.
  • Updated async_setup_entry and SolisConfigFlow to handle request timeout settings.
  • Adjusted service.py to modify retry delays for API requests.
  • Updated translations and strings to include request timeout descriptions.

Version bumped to 4.0.2.

- Introduced CONF_REQUEST_TIMEOUT and DEFAULT_REQUEST_TIMEOUT constants.
- Updated async_setup_entry and SolisConfigFlow to handle request timeout settings.
- Adjusted service.py to modify retry delays for API requests.
- Updated translations and strings to include request timeout descriptions.

Version bumped to 4.0.2.
@hultenvp
hultenvp merged commit dcd180a into hultenvp:master Sep 18, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants