Skip to content
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

Authentication in the UI #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Authentication in the UI #38

wants to merge 2 commits into from

Conversation

sampsyo
Copy link
Owner

@sampsyo sampsyo commented Dec 17, 2019

This is my first attempt to obviate the need for CLI tomfoolery to authenticate with the LG API. Home Assistant's "configurator" can prompt the user to go to the login page and to paste the resulting authenticated URL.

Things still to do:

  • We still require a country and language to be specified in the configuration before the authentication will work. We should prompt for those first. Unfortunately, that means it's a two-step process, because the login URL depends on the language and country.
  • Use configurator.request_done to mark the interaction as complete once we have the URL.

Any help would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant