From 2dca19091ac4770597a6a02431e39a048da3f2c9 Mon Sep 17 00:00:00 2001 From: Michael Graf Date: Sat, 15 May 2021 15:58:07 +0200 Subject: [PATCH] remove DOCS_URL --- config_flow.py | 4 ---- strings.json | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/config_flow.py b/config_flow.py index 50cefab..b7288a9 100644 --- a/config_flow.py +++ b/config_flow.py @@ -24,8 +24,6 @@ from .const import ( VORWERK_ROBOTS, ) -DOCS_URL = "https://www.home-assistant.io/integrations/vorwerk" - _LOGGER = logging.getLogger(__name__) @@ -57,7 +55,6 @@ class VorwerkConfigFlow(config_entries.ConfigFlow, domain=VORWERK_DOMAIN): vol.Required(CONF_EMAIL): str, } ), - description_placeholders={"docs_url": DOCS_URL}, ) async def async_step_code( @@ -94,7 +91,6 @@ class VorwerkConfigFlow(config_entries.ConfigFlow, domain=VORWERK_DOMAIN): vol.Required(CONF_CODE): str, } ), - description_placeholders={"docs_url": DOCS_URL}, errors=errors, ) diff --git a/strings.json b/strings.json index 441391a..673525a 100644 --- a/strings.json +++ b/strings.json @@ -6,14 +6,14 @@ "data": { "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": { "title": "Vorwerk Account Info", "data": { "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": {