Skip to content

Commit e95f552

Browse files
committed
remove URL from translations
1 parent 1a35437 commit e95f552

5 files changed

Lines changed: 6 additions & 31 deletions

File tree

custom_components/august_access_codes/config_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
DOMAIN,
2525
ERROR_AUGUST_INTEGRATION_MISSING,
2626
ERROR_INVALID_API_KEY,
27+
REPO_CONF_URL,
2728
SEAM_URL,
2829
)
2930

@@ -83,7 +84,7 @@ async def async_step_user(
8384
step_id="user",
8485
data_schema=STEP_USER_DATA_SCHEMA,
8586
errors=errors,
86-
description_placeholders={"url": SEAM_URL},
87+
description_placeholders={"url": SEAM_URL, "repo_conf_url": REPO_CONF_URL},
8788
)
8889

8990
async def async_step_reauth(self, entry_data: dict[str, str]) -> ConfigFlowResult:

custom_components/august_access_codes/const.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
ERROR_ACCOUNT_NOT_CONNECTED = "account_not_connected"
3333
ERROR_AUGUST_INTEGRATION_MISSING = "august_integration_missing"
3434

35+
REPO_CONF_URL = "https://github.com/iluvdata/august_access_codes?tab=readme-ov-file#configuration"
36+
3537
STEP_USER_DATA_SCHEMA = vol.Schema({vol.Required(CONF_API_KEY): TextSelector()})
3638

3739

custom_components/august_access_codes/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"iot_class": "cloud_push",
1010
"issue_tracker": "https://github.com/iluvdata/august_access_codes/issues",
1111
"requirements": ["seam==1.139.0"],
12-
"version": "2025.12.1"
12+
"version": "2025.1.0"
1313
}

custom_components/august_access_codes/strings.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

custom_components/august_access_codes/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"step": {
1010
"user": {
1111
"title": "Seam Configuration",
12-
"description": "To use the August Access integration, you must have an August account and an API key from Seam. You can obtain an API key by signing up at [{url}]({url}). Once you have your API key, enter it below to configure the integration.\n\nSee the documentation for more details [August Access Code Integration Configuration](https://github.com/iluvdata/august_access_codes?tab=readme-ov-file#configuration)",
12+
"description": "To use the August Access integration, you must have an August account and an API key from Seam. You can obtain an API key by signing up at [{url}]({url}). Once you have your API key, enter it below to configure the integration.\n\nSee the documentation for more details [August Access Code Integration Configuration]({repo_conf_url})",
1313
"data": {
1414
"api_key": "Seam API Key"
1515
}

0 commit comments

Comments
 (0)