Fix config/options flow 500 for registered device#39
Merged
Conversation
6f5e330 to
d6d2f4d
Compare
- add ConfigFlow/OptionsFlow/ConfigEntry Home Assistant stubs in tests - add runtime dependencies to requirements_test.txt for local pytest - remove JWT weak test-key warnings in jwt util tests - document cross-platform virtualenv activation for validation - keep activation scripts tracked in scripts/ via .gitignore allowlist - include Linux activation helper script for local development
d6d2f4d to
60d18e3
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fix config/options flow loading for already registered devices by returning an options flow handler directly instead of a coroutine.
Changes
MijnTedConfigFlow.async_get_options_flowsynchronous.tests/test_config_flow.pyto ensure the factory returns a handler (not a coroutine).Validation
python3 -m compileall custom_components/mijntedCloses #27
Issue: #27