remove DOCS_URL

This commit is contained in:
Michael Graf 2021-05-15 15:58:07 +02:00
parent 6af13731e8
commit 2dca19091a
2 changed files with 2 additions and 6 deletions

View File

@ -24,8 +24,6 @@ from .const import (
VORWERK_ROBOTS, VORWERK_ROBOTS,
) )
DOCS_URL = "https://www.home-assistant.io/integrations/vorwerk"
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -57,7 +55,6 @@ class VorwerkConfigFlow(config_entries.ConfigFlow, domain=VORWERK_DOMAIN):
vol.Required(CONF_EMAIL): str, vol.Required(CONF_EMAIL): str,
} }
), ),
description_placeholders={"docs_url": DOCS_URL},
) )
async def async_step_code( async def async_step_code(
@ -94,7 +91,6 @@ class VorwerkConfigFlow(config_entries.ConfigFlow, domain=VORWERK_DOMAIN):
vol.Required(CONF_CODE): str, vol.Required(CONF_CODE): str,
} }
), ),
description_placeholders={"docs_url": DOCS_URL},
errors=errors, errors=errors,
) )

View File

@ -6,14 +6,14 @@
"data": { "data": {
"email": "[%key:common::config_flow::data::email%]" "email": "[%key:common::config_flow::data::email%]"
}, },
"description": "To recieve an authentication code, enter the email address of your vorwerk account.\n\nSee [Vorwerk documentation]({docs_url})." "description": "To recieve an authentication code, enter the email address of your vorwerk account."
}, },
"code": { "code": {
"title": "Vorwerk Account Info", "title": "Vorwerk Account Info",
"data": { "data": {
"code": "Code" "code": "Code"
}, },
"description": "Enter the code you received by email.\n\nSee [Vorwerk documentation]({docs_url})." "description": "Enter the code you received by email."
} }
}, },
"error": { "error": {