Skip to content

Add request timeout configuration to Solis integration - #541

Open
patduckless wants to merge 2 commits into
hultenvp:masterfrom
patduckless:timeout-workaround
Open

patduckless wants to merge 2 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.
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.

1 participant