Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sdk): add support for notification channel in NotifierOptions #1625

Merged
merged 3 commits into from
Oct 27, 2024

Conversation

USA-RedDragon
Copy link
Contributor

@USA-RedDragon USA-RedDragon commented Oct 24, 2024

This change spins off from conversation at scryptedapp/homeassistant#1 and allows consumers of the Notifier interface to specify a channel for notifications to be sent to. Android platforms can use this to send notifications to a specific channel, allowing the user to have fine-grained control over the audio and priority of the notifications they receive.

I'm not certain my automation-actions.ts edit is enough to make this work, I didn't readily see where these were consumed in the codebase.

Potential TODOs:

sdk/types/src/types.input.ts Outdated Show resolved Hide resolved
This change spins off from conversation at scryptedapp/homeassistant#1 and allows consumers of the `Notifier` interface to specify a channel for notifications to be sent to. Android platforms can use this to send notifications to a specific channel, allowing the user to have fine-grained control over the audio and priority of the notifications they receive.
@koush
Copy link
Owner

koush commented Oct 25, 2024

looks good

@USA-RedDragon USA-RedDragon marked this pull request as ready for review October 27, 2024 05:16
@koush koush merged commit 7505e69 into koush:main Oct 27, 2024
1 check passed
@USA-RedDragon USA-RedDragon deleted the notification-channels branch October 27, 2024 06:44
@koush
Copy link
Owner

koush commented Oct 29, 2024

published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants