fix: Update Home Assistant notification help text for HA 2024 Services→Actions rename#7128
Conversation
…inology Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com>
src/lang/en.json
Outdated
| "Notification Action": "Notification Action", | ||
| "default: notify all devices": "default: notify all devices", | ||
| "A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.", | ||
| "home_assistent_notification_action_helptext": "A list of Notification Actions can be found in Home Assistant under \"Developer Tools > Actions\". Search for \"notify\" to find your actions. Enter only the part after \"notify.\", e.g. for the action \"notify.mobile_app_xyz\" enter \"mobile_app_xyz\". For built-in mobile notifications, look for \"Send a notification via mobile_app_xyz\" (not \"Send a notification\").", |
There was a problem hiding this comment.
@matthewCmatt could you review if this is what you meant?
There was a problem hiding this comment.
Pull request overview
This PR updates the Home Assistant notification configuration help text in Uptime Kuma to reflect the 2024 Home Assistant terminology change from "Services" to "Actions". It updates labels, help descriptions, and an example YAML snippet shown to users when configuring Home Assistant notifications.
Changes:
- Renamed the field label from "Notification Service" to "Notification Action" and updated the help text to reference "Developer Tools > Actions" instead of "Developer Tools > Services", with additional clarification about entering only the suffix after
notify. - Updated the automation trigger example from
call_servicetocall_actionand the YAML snippet fromservice:/service_data:toaction:/data: - Replaced the long inline translation string with a new programmatic translation key for the help text
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
src/lang/en.json |
Updated translation strings: renamed label key, replaced long help text with a new key, and improved help text content |
src/components/notifications/HomeAssistant.vue |
Updated label reference, switched to new translation key for help text, updated event type and YAML snippet to match HA 2024 terminology |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@tr4nt0r could you maybe give the new wording a look over? |
tr4nt0r
left a comment
There was a problem hiding this comment.
it's still call_service and service_data, that hasn't changed and the new location for the developer tools is Settings > Developer Tools > Actions
Co-authored-by: Manu <4445816+tr4nt0r@users.noreply.github.com>
Co-authored-by: Manu <4445816+tr4nt0r@users.noreply.github.com>
Co-authored-by: Manu <4445816+tr4nt0r@users.noreply.github.com>
|
@CommanderStorm I haven't contributed before, but shouldn't the translation key here ( |
Also the new key |
No, this is intentional to not break our sync with weblate. If you speak a non-english languages and want to improve our translations for that, we would be happy to have you -> https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ |
Gotcha, thanks for clarifying. Thanks for the quick PR! Well done |
|
assigning to copilot is simple enough for small, well worded issue feedback like you provided. Thanks for that! |
Home Assistant renamed "Services" to "Actions" in 2024, making the notification configuration help text outdated and confusing.
Changes
Notification Service→Notification ActionDeveloper Tools > Services→Developer Tools > Actions; added guidance that only the suffix afternotify.should be entered (e.g. entermobile_app_xyz, notnotify.mobile_app_xyz); clarified that built-in mobile notifications require the action named "Send a notification via mobile_app_xyz", not "Send a notification" (which routes through external providers like Signal/Discord)call_service→call_actionservice:→action:,service_data:→data:Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.