-
-
Notifications
You must be signed in to change notification settings - Fork 37.5k
Add Plex config flow support #26548
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
MartinHjelmare
merged 39 commits into
home-assistant:dev
from
jjlawren:plex_config_flow_v2
Sep 19, 2019
Merged
Add Plex config flow support #26548
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
e898297
Add config flow support
jjlawren 09f8cc7
Log error on failed connection
jjlawren 0d86d67
Review comments
jjlawren 1513c6e
Unused errors
jjlawren 28922e5
Move form to step
jjlawren 63d6752
Use instance var instead of passing argument
jjlawren 4384f53
Only share servers created by component
jjlawren efe1d7c
Return errors early to avoid try:else
jjlawren 97b7fc2
Separate debug for validation vs setup
jjlawren 84bfc3c
Unnecessary
jjlawren 137afd0
Unnecessary checks
jjlawren 9011d46
Combine import flows, move logic to component
jjlawren cbcdc2a
Use config entry discovery handler
jjlawren 828aa6d
Temporary lint fix
jjlawren 304667a
Filter out servers already configured
jjlawren bb8e67e
Remove manual config flow
jjlawren b9813c9
Skip discovery if a config exists
jjlawren 220fb07
Swap conditional to reduce indenting
jjlawren 3a809ff
Only discover when no configs created or creating
jjlawren 7592f84
Un-nest function
jjlawren c5fdfa2
Proper async use
jjlawren da0d61d
Move legacy file import to discovery
jjlawren 2694fea
Fix, bad else
jjlawren 825d2dc
Separate validate step
jjlawren aa8a030
Unused without manual setup step
jjlawren 10cd2bd
Async oops
jjlawren 7dbdc98
First attempt at tests
jjlawren 0e112d2
Test cleanup
jjlawren 5e71311
Full test coverage for config_flow, enable tests
jjlawren 37b249b
Lint
jjlawren b980fb0
Fix lint vs black
jjlawren c64eae2
Add test init
jjlawren 9286ade
Add test package requirement
jjlawren 06c18e5
Actually run script
jjlawren 2a19a9e
Use 'not None' convention
jjlawren 64fee5e
Group exceptions by result
jjlawren 7c31e71
Improve logic, add new error and test
jjlawren cf47a4d
Test cleanup
jjlawren c461e6d
Add more asserts
jjlawren 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
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.