Correct loqed token URL to production server (#99316)

* Corrects token URL to production server

* Update homeassistant/components/loqed/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
Mike Woudenberg 2023-08-30 16:21:52 +02:00 committed by GitHub
parent a1b2b9a78c
commit bc5f934f35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -123,7 +123,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
step_id="user",
data_schema=user_data_schema,
description_placeholders={
"config_url": "https://integrations.production.loqed.com/personal-access-tokens",
"config_url": "https://integrations.loqed.com/personal-access-tokens",
},
)
@ -156,7 +156,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
data_schema=user_data_schema,
errors=errors,
description_placeholders={
"config_url": "https://integrations.production.loqed.com/personal-access-tokens",
"config_url": "https://integrations.loqed.com/personal-access-tokens",
},
)

View file

@ -3,7 +3,7 @@
"flow_title": "LOQED Touch Smartlock setup",
"step": {
"user": {
"description": "Login at {config_url} and: \n* Create an API-key by clicking 'Create' \n* Copy the created access token.",
"description": "Login at LOQED's [personal access tokens portal]({config_url}) and: \n* Create an API-key by clicking 'Create' \n* Copy the created access token.",
"data": {
"name": "Name of your lock in the LOQED app.",
"api_token": "[%key:common::config_flow::data::api_token%]"