Repository navigation
feat: add Send notification DIY action - #1411
Merged
sameerasw merged 3 commits intoOct 18, 2026
Merged
Conversation
Posts a notification with a user-set title, message and label (shown as subtext next to the app name) on its own "Automation notifications" channel. Running the same action again replaces its notification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sameerasw
force-pushed
the
feat/002-send-notification-action
branch
from
October 18, 2026 03:34
ce7cfcc to
e5f6420
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a Send notification action to DIY automations, under System actions next to Wait.
Before: automations could only post failure notices; there was no way to show your own message.
After: add Send notification to any automation and fill in:
Save stays disabled until there's a title or a message, and blank fields are left off the notification. The action row shows "Send notification · <title>".
How:
Action.SendNotificationis a configurable action likeWait, saved through the existingActionGsonAdapter.AutomationNotificationPosterposts it on a new Automation notifications channel, separate from the failure notices so either can be muted on its own. Each action uses its own notification id, so running the same action again replaces its notification while different actions stack. The action needsPOST_NOTIFICATIONS; the editor shows the existing permission sheet when it's missing, and at run time a missing permission is skipped without a crash.Type of change
UI changes
The posted notification with title, message and label.
Two different Send notification actions stack; the one with only a title has no empty lines.
Checklist
develop(notmain)../gradlew assembleDebug(andassembleRelease)../gradlew testDebugUnitTest(2 new tests inActionListJsonTest: round trip, and missing fields load as empty).EssentialsBottomSheet,RoundedCardContainerand the existing permission sheet.strings.xml(English only).FeatureRegistry.kt.🤖 Generated with Claude Code