-
-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Neato config flow #26579
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 44 commits into
home-assistant:dev
from
Santobert:neato_config_flow
Oct 6, 2019
Merged
Neato config flow #26579
Changes from 37 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
b4ac588
initial commit
Santobert 161ae33
Minor changes
Santobert 66bbeb6
add async setup entry
Santobert d366279
Add translations and some other stuff
Santobert 5be857f
add and remove entry
Santobert d4bb5e5
use async_setup_entry
Santobert 86c5c9a
Update config_flows.py
Santobert a9be9a0
dshokouhi's changes
Santobert ce61769
Improve workflow
Santobert fbb8a74
Add valid_vendors
Santobert 66aab5a
Add entity registry
Santobert fa47173
Add device registry
Santobert ed9c0cf
Update entry from configuration.yaml
Santobert 403d3c8
Revert unneccesary changes
Santobert 64661f7
Update .coveragerc
Santobert c53efe0
Prepared tests
Santobert c557c69
Add dshokouhi and Santobert as codeowners
Santobert b0549e9
Fix unload entry and abort when already_configured
Santobert c00c885
First tests
Santobert a7d14d8
Add test for abort cases
Santobert 199dd8b
Add test for invalid credentials on import
Santobert c3fa082
Add one last test
Santobert a619959
Add test_init.py with some tests
Santobert c64439d
Merge remote-tracking branch 'upstream/dev' into neato_config_flow
Santobert f1b0355
Address reviews, part 1
Santobert bfafae3
Update outdated entry
Santobert 9520aa1
await instead of add_job
Santobert a0ce9a3
run IO inside an executor
Santobert 6cb4746
remove faulty test
Santobert c843f39
Fix pylint issues
Santobert fa61829
Move IO out of constructur
Santobert c901f32
Edit error translations
Santobert 49ad8a2
Edit imports
Santobert 1459152
Minor changes
Santobert af626e1
Remove test for invalid vendor
Santobert d710643
Async setup platform
Santobert f95c61a
Edit login function
Santobert 91f7e69
Moved IO out if init
Santobert ec24c5b
Update switches after added to hass
Santobert 80228bd
Revert update outdated entry
Santobert 69209c2
Merge remote-tracking branch 'upstream/dev' into neato_config_flow
Santobert 76f0b69
try and update new entrys from config.yaml
Santobert 67e205d
Add test invalid vendor
Santobert 4e30a56
Default to neato
Santobert 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "config": { | ||
| "title": "Neato", | ||
| "step": { | ||
| "user": { | ||
| "title": "Neato Account Info", | ||
| "data": { | ||
| "username": "Username", | ||
| "password": "Password", | ||
| "vendor": "Vendor" | ||
| }, | ||
| "description": "See [Neato documentation]({docs_url})." | ||
| } | ||
| }, | ||
| "error": { | ||
| "invalid_credentials": "Invalid credentials" | ||
| }, | ||
| "create_entry": { | ||
| "default": "See [Neato documentation]({docs_url})." | ||
| }, | ||
| "abort": { | ||
| "already_configured": "Already configured", | ||
| "invalid_credentials": "Invalid credentials" | ||
| } | ||
| } | ||
| } | ||
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.