No notifications after actions

Good morning together, after i build up the sensors for the washin machine i would set up notifications in the last step…i do it like:

- id: '1614544540760'
  alias: Waschmaschine fertig
  description: ''
  trigger:
  - platform: numeric_state
    entity_id: sensor.waschmaschine_watts
    for: 00:01:30
    below: '2'
  condition:
  - condition: state
    entity_id: input_select.washing_machine_status
    state: arbeitet
  action:
  - service: input_select.select_option
    data:
      option: fertig
    entity_id: input_select.washing_machine_status
  - service: notify.mobile_app_in2023
    data:
      Message: Die Waschmaschine ist fertig und möchte ausgeräumt werden.
  - service: notify.alexa_media_keller
    data:
      Message: Die Waschmaschine ist fertig und möchte ausgeräumt werden.
  - service: notify.mobile_app_oneplus_a6013
    data:
      Message: Die Waschmaschine ist fertig und möchte ausgeräumt werden.
  mode: single

But no notifications comes to any client…what is the problem (I test it in the autmation overview with the trigger button)? Nothing happens…

Oh, i can find this in the log:
Error while executing automation automation.waschmaschine_fertig: extra keys not allowed @ data[‘Message’]

7:56:22 – Automatisierung (ERROR) - Die Nachricht ist zum ersten Mal um 7:48:31 aufgetreten und erscheint 3 mal

Waschmaschine fertig: Error executing script. Invalid data for call_service at pos 2: extra keys not allowed @ data[‘Message’]

7:56:22 – Automatisierung (ERROR) - Die Nachricht ist zum ersten Mal um 7:48:31 aufgetreten und erscheint 3 mal

Error while executing automation automation.waschmaschine_ein: extra keys not allowed @ data[‘option’]

7:56:19 – Automatisierung (ERROR)

Waschmaschine ein: Error executing script. Invalid data for call_service at pos 1: extra keys not allowed @ data[‘option’]

7:56:19 – Automatisierung (ERROR)

Oh, i forgot my configuration.yaaml:

      # Waschmaschine eigener Sensor
      washing_machine_status:
        entity_id:
          - input_select.washing_machine_status
        value_template: '{{ states.input_select.washing_machine_status.state}}'
        friendly_name: 'Waschmaschine'
      
# Eingabemöglichkeiten Waschmaschine
input_select:
  washing_machine_status:
    name: Waschmaschine Status
    options:
      - aus
      - arbeitet
      - fertig
    initial: aus

There is no such thing as capital letters in yaml! :slight_smile:

1 Like

Thank you…I fall for it over and over again…