WhatsApp Benachrichtigung für mehrere Personen

Hallo Leute,
ich habe gerade die WhatsApp Benachrichtigung mit CallMeBot eingerichtet. Hat auch funktioniert, mit einem Empfänger.
Ich möchte aber, das 2 Empfänger eine Nachricht bekommen und habe das 2x untereinander in der Config eingegeben:

Example configuration.yaml entry

notify:

  • name: WhatsApp_Sabrina
    platform: rest
    resource: https://api.callmebot.com/whatsapp.php
    data:
    source: HA
    phone: +49***** #enter your phone number here
    apikey: ******* #enter your apikey here (see Setup above)

Leider ist kann ich in den Automatitionen nur eine auswählen.

Was habe ich falsch gemacht??

Gruß
homi0815

Du kannst entweder eine Notify Group einrichten (geht momentan nur per yaml in der configuration.yaml) → siehe Doku
Ansonsten einfach 2x hintereinander in der Automation aufrufen.

Edit: Ich habe das Problem falsch verstanden. Die zweite Config hat nicht funktioniert - das ist das eigentliche Problem, oder? Aber in deinem Codebeispiel ist doch nur 1x Empfänger definiert?!

P.S. Code bitte immer als Code formatieren :slight_smile:

Ich habe es so eingegeben:

# Example configuration.yaml entry 
notify:
  - name: WhatsApp_Michael
    platform: rest
    resource: https://api.callmebot.com/whatsapp.php
    data:
      source: HA
      phone: +49****   #enter your phone number here
      apikey: ****        #enter your apikey here (see Setup above)
# Example configuration.yaml entry 
notify:
  - name: WhatsApp_Sabrina
    platform: rest
    resource: https://api.callmebot.com/whatsapp.php
    data:
      source: HA
      phone: +49****   #enter your phone number here
      apikey: ******        #enter your apikey here (see Setup above)

Es wird aber nur WhatsApp_Sabrina zur Auswahl angezeigt.

Ich denke, du brauchst nur 1x notify: schreiben und dann beide Einträge darunter schreiben. HA-Neustart danach nicht vergessen :slight_smile:

1 „Gefällt mir“

Das klingt logisch und hat auch funktioniert.
Vielen Dank für die Hilfe. :hugs: