Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Show notification when user configures Nest client_id/secret #14970

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 2 commits into from
Jun 15, 2018

Conversation

balloob
Copy link
Member

@balloob balloob commented Jun 15, 2018

Description:

@awarecan noticed me in the dev chat that with the switch to config entries, we lost the notification that would ask users to configure their Nest from the frontend.

This PR adds that notification back by leveraging the built-in notification from a discovered config entry.

Implementing this feature made me realize I didn't add tests for the import step, so adding those missing tests too.

Example entry for configuration.yaml (if applicable):

nest:
  client_id: bla
  client_secret: bla

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@balloob balloob merged commit 8a777f6 into dev Jun 15, 2018
@ghost ghost removed the in progress label Jun 15, 2018
@balloob balloob deleted the nest-local-show-notif branch June 15, 2018 19:20
@balloob balloob mentioned this pull request Jun 22, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
…sistant#14970)

* Show notification when user configures Nest client_id/secret

* Lint
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants