Plex external config flow (#26936)

* Plex external auth config flow

* Update requirements_all

* Test dependency

* Bad await, delay variable

* Use hass aiohttp session, bump plexauth

* Bump requirements

* Bump library version again

* Use callback view instead of polling

* Update tests for callback view

* Reduce timeout with callback

* Review feedback

* F-string

* Wrap sync call

* Unused

* Revert unnecessary async wrap
This commit is contained in:
jjlawren authored and Martin Hjelmare committed 2019-10-01 17:20:30 +02:00
1 parent c1851a2d94
commit 571ab5a978
10 files changed
+267 -77

No files matched your search

+3 -4
View File
@@ -21,9 +21,8 @@
},
"user": {
"title": "Connect Plex server",
"description": "Enter a Plex token for automatic setup or manually configure a server.",
"description": "Continue to authorize at plex.tv or manually configure a server.",
"data": {
"token": "Plex token",
"manual_setup": "Manual setup"
}
}
@@ -31,14 +30,14 @@
"error": {
"faulty_credentials": "Authorization failed",
"no_servers": "No servers linked to account",
"not_found": "Plex server not found",
"no_token": "Provide a token or select manual setup"
"not_found": "Plex server not found"
},
"abort": {
"all_configured": "All linked servers already configured",
"already_configured": "This Plex server is already configured",
"already_in_progress": "Plex is being configured",
"invalid_import": "Imported configuration is invalid",
"token_request_timeout": "Timed out obtaining token",
"unknown": "Failed for unknown reason"
}
},