Add api token to base strings for config flows (#41133)

This commit is contained in:
springstan 2020-10-03 15:26:37 +02:00 committed by GitHub
parent 406ac38c75
commit 7bafa921bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@
"step": { "step": {
"user": { "user": {
"data": { "data": {
"api_token": "[%key:common::config_flow::data::api_key%]" "api_token": "[%key:common::config_flow::data::api_token%]"
}, },
"description": "You will need the API Token from https://home.juice.net/Manage.", "description": "You will need the API Token from https://home.juice.net/Manage.",
"title": "Connect to JuiceNet" "title": "Connect to JuiceNet"

View File

@ -14,7 +14,7 @@
"description": "You will need the 32 character API Token, see https://www.home-assistant.io/integrations/vacuum.xiaomi_miio/#retrieving-the-access-token for instructions. Please note, that this token is different from the key used by the Xiaomi Aqara integration.", "description": "You will need the 32 character API Token, see https://www.home-assistant.io/integrations/vacuum.xiaomi_miio/#retrieving-the-access-token for instructions. Please note, that this token is different from the key used by the Xiaomi Aqara integration.",
"data": { "data": {
"host": "[%key:common::config_flow::data::ip%]", "host": "[%key:common::config_flow::data::ip%]",
"token": "API Token", "token": "[%key:common::config_flow::data::api_token%]",
"name": "Name of the Gateway" "name": "Name of the Gateway"
} }
} }

View File

@ -35,6 +35,7 @@
"usb_path": "USB Device Path", "usb_path": "USB Device Path",
"access_token": "Access Token", "access_token": "Access Token",
"api_key": "API Key", "api_key": "API Key",
"api_token": "API Token",
"longitude": "Longitude", "longitude": "Longitude",
"latitude": "Latitude" "latitude": "Latitude"
}, },