-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from astrandb/Selector
Use TextSelector in config_flow
- Loading branch information
Showing
2 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,22 +1,27 @@ | ||
{ | ||
"config": { | ||
"step": { | ||
"user": { | ||
"data": { | ||
"host": "Host", | ||
"password": "Password", | ||
"username": "Username" | ||
} | ||
} | ||
"config": { | ||
"step": { | ||
"user": { | ||
"description": "Enter credentials to access the device", | ||
"data": { | ||
"host": "Host", | ||
"password": "Password", | ||
"username": "Username" | ||
}, | ||
"error": { | ||
"cannot_connect": "Failed to connect", | ||
"invalid_auth": "Invalid authentication", | ||
"model_not_supported": "Model {model} not supported", | ||
"unknown": "Unexpected error" | ||
}, | ||
"abort": { | ||
"already_configured": "Device is already configured" | ||
"data_description": { | ||
"host": "Hostname or IP address", | ||
"username": "Leave username empty if authentication is disabled" | ||
} | ||
} | ||
}, | ||
"error": { | ||
"cannot_connect": "Failed to connect", | ||
"invalid_auth": "Invalid authentication", | ||
"model_not_supported": "Model {model} not supported", | ||
"unknown": "Unexpected error" | ||
}, | ||
"abort": { | ||
"already_configured": "Device is already configured" | ||
} | ||
} | ||
} | ||
} |