1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Add link to emoji reference in ntfy (#161524)

This commit is contained in:
Manu
2026-01-24 20:41:43 +01:00
committed by GitHub
parent d68ac745d4
commit 73bfe308b7
2 changed files with 4 additions and 3 deletions

View File

@@ -84,7 +84,8 @@ async def async_setup_entry(
SERVICE_PUBLISH_SCHEMA,
"publish",
description_placeholders={
"markdown_guide_url": "https://www.markdownguide.org/basic-syntax/"
"markdown_guide_url": "https://www.markdownguide.org/basic-syntax/",
"emoji_reference_url": "https://docs.ntfy.sh/emojis/",
},
)

View File

@@ -349,7 +349,7 @@
"name": "Icon URL"
},
"markdown": {
"description": "Enable Markdown formatting for the message body. See the Markdown guide for syntax details: {markdown_guide_url}.",
"description": "Enable Markdown formatting for the message body. See the [Markdown guide]({markdown_guide_url}) for syntax details.",
"name": "Format as Markdown"
},
"message": {
@@ -365,7 +365,7 @@
"name": "[%key:component::ntfy::common::sequence_id%]"
},
"tags": {
"description": "Add tags or emojis to the notification. Emojis (using shortcodes like smile) will appear in the notification title or message. Other tags will be displayed below the notification content.",
"description": "Add tags or emojis to the notification. Emojis (using shortcodes like `smile`) will appear in the notification title or message. Other tags will be displayed below the notification content. See the [emoji short code reference]({emoji_reference_url}) for a list of supported emojis.",
"name": "Tags/Emojis"
},
"title": {