-
Notifications
You must be signed in to change notification settings - Fork 7
Set timeout based on discovered version #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
dbfabf3
Set timeout based on discovered version
bouwew 53133c1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ee84683
Fix typo
bouwew 2d333fd
Add testing
bouwew 4bd7909
Correct parameter use
bouwew 765cbec
Improve
bouwew 2b9b9be
Fix typo
bouwew 87a34ca
Implement suggestion
bouwew 4b4ccde
Correct argument
bouwew 3dcbf49
Improve testing
bouwew a9ff7f7
Force a fail
bouwew 265ef25
Debug
bouwew 997b230
Improve
bouwew 18013f6
Correct order
bouwew 022e240
Improve config_flow.py
bouwew 0ab8629
More debug
bouwew a4a5063
Fix
bouwew 0d6c052
More debug
bouwew ed6c083
Try
bouwew 15d998d
Try 2
bouwew 45d11fb
Add missing init
bouwew cc74e4a
Fix assert
bouwew 5f4cd0b
Correct fail
bouwew 15eaad7
One more fix
bouwew cdd25d5
Remove debugging
bouwew fd62502
Update CHANGELOG
bouwew 2e8801c
Simplify
bouwew 75a5722
Remove double assert
bouwew eb69283
Pass the timeout-value to the DUC
bouwew 9ec4a09
Add to TITLE_PLACEHOLDER
bouwew b023643
Debug
bouwew 13d2dda
Update debug
bouwew 3a5abe6
Add CONF_TIMEOUT to mock_config_entry
bouwew b4c5d20
Set config_entry version to 2
bouwew c294815
Add entry-migration
bouwew b5f3940
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] bb0cff0
Set version to 2 in mock_config_entry
bouwew 06e4ce5
Fix function-call arguments
bouwew 709b4fe
Fix typo
bouwew f78a8c0
Use packaging.version for version-compare
bouwew e581564
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 603ba38
Add entry-migration test
bouwew d264fad
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ec8e85c
Fix imports
bouwew 02bc805
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0859068
Create empty test_init.ambr snapshot-file
bouwew 43b554c
Update test_options_flow_thermo()
bouwew f5c5163
Fix/revert
bouwew cdf8dc7
Save updated test_init.ambr file
bouwew 7c0d09d
Correct expected version nr in test_init.ambr
bouwew a0bc14a
Correct mock_config_entry
bouwew b136a30
Add debugging
bouwew fc10927
More corrections
bouwew 864542f
Correct
bouwew 46fa157
Change to minor_version upgrade
bouwew 46753ea
Try
bouwew e77b729
Try 2
bouwew 62f32b4
Try 3
bouwew cfa3120
Try 4
bouwew 9c11317
Fix
bouwew ac8c704
Fix 2
bouwew b4b5c51
Fix 3
bouwew 2ee8d44
Fix 4
bouwew 73463c9
Try 5
bouwew c85a6dc
Try 6
bouwew 93bcfd5
Update snapshot
bouwew 4661218
Remove debugging
bouwew 5410667
Add api_version to config_entry.data and use
bouwew d404f91
Change to version, improve
bouwew 490d5bc
Improve
bouwew d6aeb48
Improve 2
bouwew a87c613
Save updated test-data-file
bouwew 902133c
Improve 3
bouwew e748ad4
Try 7
bouwew ee9e023
Save updated test_init.ambr file
bouwew 46f83d9
Add log.debug message
bouwew 201e8d7
Remove debug-logging
bouwew 8207413
Bump to v0.53.3 release-version
bouwew 82aac91
Update CHANGELOG
bouwew 37eef2f
Optimize - remove storing of version
bouwew 6275994
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 33b6c18
async improvements
bouwew b48a673
Improve doc-string, add comment as suggested
bouwew f294db6
Cleanup
bouwew b24abcb
Correct logger.debug placement
bouwew 38a9b1d
Update entry strings, warn about possible long processing time
bouwew 72080ef
Improve strings
bouwew 77b115c
Implement suggestion
bouwew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # serializer version: 1 | ||
| # name: test_entry_migration | ||
| ConfigEntrySnapshot({ | ||
| 'data': dict({ | ||
| 'host': '127.0.0.1', | ||
| 'mac': 'AA:BB:CC:DD:EE:FF', | ||
| 'password': 'test-password', | ||
| 'port': 80, | ||
| 'timeout': 10, | ||
| 'username': 'smile', | ||
| }), | ||
| 'disabled_by': None, | ||
| 'domain': 'plugwise', | ||
| 'entry_id': <ANY>, | ||
| 'minor_version': 2, | ||
| 'options': dict({ | ||
| }), | ||
| 'pref_disable_new_entities': False, | ||
| 'pref_disable_polling': False, | ||
| 'source': 'user', | ||
| 'title': 'My Plugwise', | ||
| 'unique_id': 'smile98765', | ||
| 'version': 1, | ||
| }) | ||
| # --- |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.