Automation dosent trigger

Hello everyone,
I have created an automation that sends a push message when the Dishwasher value is changed to “Finished”.
Unfortunately, the automation is never started. Can anyone tell me why this is the case?

Here you can see that the status “Finished” is reached for a short time

I have also created the same for the washing machine. This automation does not work either. The “Finished” status is retained for longer here.

Thank you for your answers and Merry Christmas to all. Stay healthy. :christmas_tree:

Get rid of the “from” value and see if it works. From the history screenshot, it looks like the state is going from “Run” to “Finished”.

Also, in the future please copy and paste the YAML configuration instead of a screen shot, it makes it a lot easier on the people trying to help. You can access the yaml from the automation editor by clicking the 3-dot menu at the top right, then select “Edit in YAML”.

thank you @Didgeridrew.
Thanks for the hint, in the future I will post the YAML configuration directly. Here is the modified automation

alias: Geschirrspüler fertig
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.geschirrspuler_operation_state
    to: " Finished"
condition: []
action:
  - parallel:
      - service: notify.mobile_app_ios_k6x6vjp6yt
        data:
          message: Programm beendet
          title: Geschirrspüler
      - service: notify.mobile_app_iphone
        data:
          message: Programm beendet
          title: Geschirrspüler
mode: restart

You have an extra space before the word finished.

1 Like

Also, double check that “Finished” is the actual state… It’s annoying, but there are “frontend representations” that are used in History that are meant to be “human friendly” but are not the actual state value that will be seen by the State trigger. This is more common in binary sensors, but some integrations apply them to sensors with nominal states as well. The actual state of an entity can be seen in the States tab of Developer Tools.