Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom_components/weenect/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/weenect/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/weenect/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading