diff --git a/homeassistant/components/html5/issue.py b/homeassistant/components/html5/issue.py
index 6f3070ed604..66c11f5c742 100644
--- a/homeassistant/components/html5/issue.py
+++ b/homeassistant/components/html5/issue.py
@@ -27,7 +27,11 @@ def deprecated_notify_action_call(
is_fixable=False,
severity=IssueSeverity.WARNING,
translation_key="deprecated_notify_action",
- translation_placeholders={"action": action},
+ translation_placeholders={
+ "action": action,
+ "new_action_1": "notify.send_message",
+ "new_action_2": "html5.send_message",
+ },
)
diff --git a/homeassistant/components/html5/strings.json b/homeassistant/components/html5/strings.json
index 98e3b3bf0ca..3dea89e6ead 100644
--- a/homeassistant/components/html5/strings.json
+++ b/homeassistant/components/html5/strings.json
@@ -32,7 +32,9 @@
"received": "Received"
}
},
- "tag": { "name": "Tag" }
+ "tag": {
+ "name": "[%key:component::html5::services::send_message::fields::tag::name%]"
+ }
}
}
}
@@ -54,7 +56,7 @@
"title": "[%key:component::html5::issues::deprecated_notify_action::title%]"
},
"deprecated_notify_action": {
- "description": "The action `{action}` is deprecated and will be removed in a future release.\n\nPlease update your automations and scripts to use the notify entities with the `notify.send_message` or `html5.send_message` actions instead.",
+ "description": "The action `{action}` is deprecated and will be removed in a future release.\n\nPlease update your automations and scripts to use the notify entities with the `{new_action_1}` or `{new_action_2}` actions instead.",
"title": "Detected use of deprecated action {action}"
}
},
@@ -110,7 +112,7 @@
"fields": {
"tag": {
"description": "The tag of the notifications to dismiss. If not specified, all notifications will be dismissed.",
- "name": "Tag"
+ "name": "[%key:component::html5::services::send_message::fields::tag::name%]"
}
},
"name": "Dismiss message"