From c3330369591e477d6ccc6c0ee88394bd6eb9dfd5 Mon Sep 17 00:00:00 2001 From: Hem Bhagat <53093601+hembhagat99@users.noreply.github.com> Date: Thu, 4 Dec 2025 20:47:16 +0530 Subject: [PATCH] Move translatable URL out of strings.json for ntfy integration (#155859) --- homeassistant/components/ntfy/notify.py | 3 +++ homeassistant/components/ntfy/strings.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/ntfy/notify.py b/homeassistant/components/ntfy/notify.py index 176dddd7a44c..4c7c07e640e6 100644 --- a/homeassistant/components/ntfy/notify.py +++ b/homeassistant/components/ntfy/notify.py @@ -81,6 +81,9 @@ async def async_setup_entry( SERVICE_PUBLISH, SERVICE_PUBLISH_SCHEMA, "publish", + description_placeholders={ + "markdown_guide_url": "https://www.markdownguide.org/basic-syntax/" + }, ) diff --git a/homeassistant/components/ntfy/strings.json b/homeassistant/components/ntfy/strings.json index 760f61530172..41b4f20b85b7 100644 --- a/homeassistant/components/ntfy/strings.json +++ b/homeassistant/components/ntfy/strings.json @@ -345,7 +345,7 @@ "name": "Icon URL" }, "markdown": { - "description": "Enable Markdown formatting for the message body. See the Markdown guide for syntax details: https://www.markdownguide.org/basic-syntax/.", + "description": "Enable Markdown formatting for the message body. See the Markdown guide for syntax details: {markdown_guide_url}.", "name": "Format as Markdown" }, "message": {