Add Risco communication delay#101349
Conversation
|
Hey there @OnFreund, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Marking this PR draft for now. Feel free to undraft when the above discussion has been resolved and the PR is ready for review again. ../Frenck |
|
@OnFreund Can you please give your opinion on the proposed way to continue this PR. If we make a decision I can finish the PR with some additional changes. |
|
I'm sorry, given the situation in Israel I won't be able to meaningfully review this any time soon. |
Sure, I fully understand. I hope you and your family and friends are all fine! Take care! |
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
Please add a link to a changelog or GitHub commit compare view for the version bump in the PR description. Thanks! |
|
All done! Thanks for the review. |
|
@OnFreund are you happy to merge now? Should this PR wait to be released in the next minor release in December or do we consider it a fix? |
|
Looks good to me, but missing a test for the case where the delay is updated outside the config flow. Since this is not a recent regression, and the fix is not trivial, I would be inclined to wait for the December release, but I don't feel strongly either way. |
Breaking change
Proposed change
This PR add an optional
communication_delayparameter to the config flow that introduces a delay in between the opening of the socket and the communication over the socket. This has been implemented in the upstream package in OnFreund/pyrisco#17Package bump compare: OnFreund/pyrisco@v0.5.7...v0.5.8
Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.To help with the load of incoming pull requests: