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

Add channel to mobile notifications #935

Open
mogultekin opened this issue May 9, 2024 · 1 comment
Open

Add channel to mobile notifications #935

mogultekin opened this issue May 9, 2024 · 1 comment

Comments

@mogultekin
Copy link

Checklist

  • [Done] I checked for similar existing requests (both open and closed) before posting.
  • [Done] My request is generic, other users may benefit from it too.

Proposal

Please add channel to mobile notifications. In the companion app we can arrange different sounds to channels. I created a channel in the companion app as "Alarm Triggered" and changed the sound to Alarm.mp3 in my Android phone. When a message arrives to that channel Alarm.mp3 played instead of default sound of HA Companion App Notification.

https://companion.home-assistant.io/docs/notifications/notifications-basic/#notification-channels

Additional info

I even tried adding channel in yaml in your Notification Editor but the syntax was rejected.

@golles
Copy link

golles commented May 11, 2024

It would be good if you could share what you've tried in yaml mode.

What happens when you manually trigger the notify service with the yaml in the Home Assistant Developer Options?

For me (iOS) this is working fine:

service: notify.sander
data:
  message: "Het alarm is geactiveerd! Oorzaak: {{open_sensors|lang=nl}}."
  title: 🚨 Alarm
  data:
    url: /dashboard-status/alarm
    push:
      interruption-level: critical
      sound: alarm.caf

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

No branches or pull requests

2 participants