Automation Monitor – neue HACS-Integration für fehlgeschlagene Automationen

hier ne passende Markdown-Karte fürs anzeigen:

{% set monitor_entity = 'sensor.failed_automations' %} {% set failed_list = state_attr(monitor_entity, 'automations') %}
{% if failed_list is defined and failed_list and failed_list | length > 0 %}
  # 🚨 Fehlgeschlagene Automatisierungen ({{ failed_list | length }})

  {% for item in failed_list %}
    ### ❌ {{ item.name }}
    * **Entität:** `{{ item.entity_id }}`
    * **Fehler-Schritt:** `{{ item.error_step }}`
    * **Zeitpunkt:** {{ as_timestamp(item.last_error_time) | timestamp_custom('%d.%m.%Y um %H:%M Uhr') }}
    
    > **Fehlermeldung:**  
    > `{{ item.error_message }}`

    ---
  {% endfor %}
{% else %}
  # ✅ Automatisierungs-Monitor

  🎉 **Alles super!** Aktuell wurden keine fehlerhaften Automatisierungen erfasst.
{% endif %}