nielsfaber / alarmo

Easy to use alarm system integration for Home Assistant
1.33k stars 121 forks source link

Add channel to mobile notifications #935

Closed mogultekin closed 3 months ago

mogultekin commented 4 months ago

Checklist

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 commented 4 months ago

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
github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days