diff --git a/custom_components/weenect/config_flow.py b/custom_components/weenect/config_flow.py index a202e48..2a77602 100644 --- a/custom_components/weenect/config_flow.py +++ b/custom_components/weenect/config_flow.py @@ -58,6 +58,7 @@ async def _show_config_form(self, user_input) -> FlowResult: step_id="user", data_schema=vol.Schema({vol.Required(CONF_USERNAME): str, vol.Required(CONF_PASSWORD): str}), errors=self._errors, + description_placeholders={"docs_url": "https://github.com/eifinger/hass-weenect"}, ) async def _test_credentials(self, username, password) -> bool: diff --git a/custom_components/weenect/translations/de.json b/custom_components/weenect/translations/de.json index d5b7dbf..876c424 100644 --- a/custom_components/weenect/translations/de.json +++ b/custom_components/weenect/translations/de.json @@ -2,7 +2,7 @@ "config": { "step": { "user": { - "description": "Wenn du Hilfe benötigst findest du sie vielleicht hier: https://github.com/eifinger/hass-weenect", + "description": "Wenn du Hilfe benötigst findest du sie in der [Weenect Dokumentation]({docs_url})", "data": { "username": "Benutzername", "password": "Passwort" diff --git a/custom_components/weenect/translations/en.json b/custom_components/weenect/translations/en.json index da8c307..966aa1b 100644 --- a/custom_components/weenect/translations/en.json +++ b/custom_components/weenect/translations/en.json @@ -2,7 +2,7 @@ "config": { "step": { "user": { - "description": "If you need help with the configuration have a look here: https://github.com/eifinger/hass-weenect", + "description": "If you need help with the configuration have a look in the [Weenect documentation]({docs_url})", "data": { "username": "Username", "password": "Password"