Automationen weg

Hallo,

nach einem Update / Neustart sind auf einmal all meine Automationen in der Gui weg und reagieren auch nicht mehr.

Konfiguration prüfen sagt es ist alles ok.

in den yaml Dateien sind sie Gott sei dank noch vorhanden.

Hat jemand einen Ansatz wie ich rauskriegen kann was passiert ist.

automations.yaml

- id: '1696793237464'
  alias: Bambu_abschalten
  description: ''
  trigger:
  - platform: numeric_state
    entity_id: sensor.x1c_00m09a340700164_heatbreak_fan_speed
    below: 1
  condition: []
  action:
  - type: turn_off
    device_id: 744bdf7648ac0255831dcdcaf707e78b
    entity_id: 206e0742bca11cdbcf6b6996b593a4a2
    domain: switch
  - service: automation.turn_off
    data:
      stop_actions: true
    target:
      entity_id: automation.bambu_abschalten
  - service: tts.google_translate_say
    data:
      cache: false
      entity_id: media_player.homi
      message: Druck fertig
      language: de
  mode: single
- id: '1696855514535'
  alias: Robbie starten
  description: ''
  triggers:
  - entity_id:
    - schedule.robbie
    to: 'on'
    trigger: state
  conditions:
  - condition: state
    state: not_home
    entity_id: device_tracker.iphone_4_2
  actions:
  - data:
      message: Robbie startet
    action: notify.mobile_app_iphone_4
  - device_id: 3c8372bed396262e34854a13630ddc13
    domain: button
    entity_id: 6466cd67748b78600f000eb5123bf555
    type: press
  mode: single
- id: '1697969659313'
  alias: Waschmaschine fertig
  description: ''
  triggers:
  - entity_id:
    - binary_sensor.waschmaschine
    from: 'on'
    trigger: state
  conditions:
  - condition: state
    entity_id: binary_sensor.iphone_4_focus
    state: 'off'
  actions:
  - data:
      cache: false
      entity_id: media_player.homi_2
      message: Waschmaschine fertig
      language: de
    action: tts.google_translate_say
  mode: single
- id: '1697972874810'
  alias: Trockner fertig
  description: ''
  triggers:
  - entity_id:
    - binary_sensor.trockner
    from: 'on'
    trigger: state
  conditions:
  - condition: state
    entity_id: binary_sensor.iphone_4_focus
    state: 'off'
  actions:
  - action: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.66
    target:
      device_id: 66a1e3201fef77aa1919dc9f65e31bb5
  - data:
      cache: false
      entity_id: media_player.homi_2
      message: Trockner fertig
      language: de
    action: tts.google_translate_say
  mode: single
- id: '1703336738422'
  alias: 'Spülmaschine fertig '
  description: ''
  triggers:
  - entity_id:
    - binary_sensor.spulmaschine
    from: 'on'
    trigger: state
  conditions:
  - condition: state
    entity_id: binary_sensor.iphone_4_focus
    state: 'off'
  actions:
  - action: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.66
    target:
      device_id: 66a1e3201fef77aa1919dc9f65e31bb5
  - data:
      cache: false
      entity_id: media_player.homi_2
      message: Spülmaschine fertig
      language: de
    action: tts.google_translate_say
  - data:
      message: Spülmaschine fertig
    action: notify.mobile_app_iphone_4
  mode: single
- id: '1711288724925'
  alias: Person Garten 19a
  description: ''
  trigger:
  - platform: state
    entity_id:
    - binary_sensor.garten_person_detected
    to: 'on'
  condition: []
  action:
  - service: notify.mobile_app_iphone_4
    metadata: {}
    data:
      message: Person erkannt
      data:
        image: /api/image_proxy/image.garten_event_image
      title: Garten
  mode: single
- id: '1711902733828'
  alias: Gewitter kommt
  description: ''
  trigger:
  - platform: state
    entity_id:
    - sensor.blitzortung_lightning_counter
    from: '0'
    to: '1'
  condition: []
  action:
  - service: notify.mobile_app_iphone_4
    metadata: {}
    data:
      message: Gewitter kommt!!!
      title: Gewitter
      data:
        push:
          sound:
            name: default
            critical: 1
            volume: 1
  mode: single
- id: '1715432296819'
  alias: 'Internet zurück '
  description: ''
  trigger:
  - platform: state
    entity_id:
    - binary_sensor.fritz_box_7590_verbindung
    to: 'on'
  condition: []
  action:
  - service: notify.mobile_app_iphone_4
    metadata: {}
    data:
      message: Internet wieder da!
      title: 'Internet '
  mode: single
- id: '1737008881943'
  alias: Bewegung Hobbykeller
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - binary_sensor.hobby_motion_alarm
    from: 'off'
  conditions:
  - condition: state
    entity_id: device_tracker.iphone_4_2
    state: not_home
  actions:
  - action: notify.mobile_app_iphone_4
    metadata: {}
    data:
      message: Bewegung Hobbykeller
  mode: single
- id: '1737832149141'
  alias: Stromausfall
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - sensor.ups_status
    from: Online
  conditions: []
  actions:
  - device_id: 546320d8be02997d8e84830d36bf3760
    domain: mobile_app
    type: notify
    message: Stromausfall
  mode: single
- id: '1737902871045'
  alias: bad_radio
  description: ''
  use_blueprint:
    path: homeassistant/ctrl-media-radio-station.yaml
    input:
      target_player: media_player.badezimmer
      radio_stations: input_select.bad_radio_stations
      switch_player: input_boolean.bad_radio_on_off
- id: '1739623697337'
  alias: Briefkasten
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - binary_sensor.briefkasten_vibration
    from: 'off'
    to: 'on'
  conditions: []
  actions:
  - action: notify.mobile_app_iphone_4
    metadata: {}
    data:
      message: Post ist da!
  mode: single
- id: '1741957891180'
  alias: Haustür öffnen
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - sensor.klingelkasten_haust_r_fingerprint_state
    to: Autorisiert
  conditions: []
  actions:
  - device_id: f7d4493fe08145399e56c84d252ed3eb
    domain: button
    entity_id: 260cc387795232b45432c5fb493a323a
    type: press
  mode: single
- id: '1741959690770'
  alias: BriefkastenvSchlitz geöffnet
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - binary_sensor.klingelkasten_briefkasten_schlitz
    to: 'on'
  conditions: []
  actions:
  - action: input_boolean.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.post_im_briefkasten
  mode: single
- id: '1741960016715'
  alias: Briefkasten Tür geöffnet
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - binary_sensor.klingelkasten_briefkasten_t_r
    to: 'on'
  conditions: []
  actions:
  - action: input_boolean.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.post_im_briefkasten
  mode: single
- id: '1741960398275'
  alias: Auf Post hinweisen
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - binary_sensor.fensterkontakt_haustuer_contact
    to: 'on'
  conditions:
  - condition: state
    entity_id: input_boolean.post_im_briefkasten
    state: 'on'
  actions:
  - action: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.66
    target:
      device_id: 66a1e3201fef77aa1919dc9f65e31bb5
  - action: tts.google_translate_say
    metadata: {}
    data:
      cache: true
      message: Post im Briefkasten
      entity_id: media_player.homi_2
      language: de
  mode: single
- id: '1757752159644'
  alias: Roborock Wasser wechseln
  description: ''
  triggers:
  - type: opened
    device_id: 94284ee7eafd2721b82e9d9c2a35edab
    entity_id: 74d80f3691733b939b141207701dd11b
    domain: binary_sensor
    trigger: device
  conditions:
  - condition: not
    conditions:
    - condition: state
      entity_id: sensor.saros_z70_dock_dock_fehler
      state: ok
  actions:
  - data:
      cache: false
      entity_id: media_player.homi_2
      language: de
      message: Roborock hat ein Problem. {{ states('sensor.saros_z70_dock_dock_fehler')
        }}
    action: tts.google_translate_say
  mode: single

configuration.yaml

#logger:
#  default: debug

# Loads default set of integrations. Do not remove.
default_config:

# Reverse Proxy
http:
  use_x_forwarded_for: true
  trusted_proxies: 192.168.191.2

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

template:
  - sensor:
      - name: "Zählerstand"
        unit_of_measurement: kWh
        state_class: total_increasing
        device_class: energy
        state: >
          {% if states('sensor.energie_haupt_e_in') == 'unavailable' or states('sensor.energie_haupt_e_in') < '1' %}
            {{ states('sensor.zahlerstand') }}
          {% else %}
            {{ states('sensor.energie_haupt_e_in') }}
          {% endif %}

switch:
  - platform: wake_on_lan
    mac: "9C:5C:8E:85:ED:A4"
    name: "Hauptrechner"
  - platform: template
    switches:
      timer_wago_wecker:
        friendly_name: "Timer Wago Wecker"
        unique_id: "timer_wago_wecker"
        value_template: >
          {% if is_state('sensor.timer_wago_wecker_sensor', '1')%} True
          {% else %}
            False
          {% endif %}
        turn_on:
          - service: rest_command.wago_lampe
            data:
              Adresse: "MX106.8"
              Wert: "1"
        turn_off:
          - service: rest_command.wago_lampe
            data:
              Adresse: "MX106.8"
              Wert: "0"
      timer_wago_rolladehoch:
        friendly_name: "Timer Wago Rollade hoch"
        unique_id: "timer_wago_rolladehoch"
        value_template: >
          {% if is_state('sensor.timer_wago_rolladehoch_sensor', '1')%} True
          {% else %}
            False
          {% endif %}
        turn_on:
          - service: rest_command.wago_lampe
            data:
              Adresse: "MX106.9"
              Wert: "1"
        turn_off:
          - service: rest_command.wago_lampe
            data:
              Adresse: "MX106.9"
              Wert: "0"
      timer_wago_rolladerunter:
        friendly_name: "Timer Wago Rollade runter"
        unique_id: "timer_wago_rolladerunter"
        value_template: >
          {% if is_state('sensor.timer_wago_rolladerunter_sensor', '1')%} True
          {% else %}
            False
          {% endif %}
        turn_on:
          - service: rest_command.wago_lampe
            data:
              Adresse: "MX106.10"
              Wert: "1"
        turn_off:
          - service: rest_command.wago_lampe
            data:
              Adresse: "MX106.10"
              Wert: "0"

rest_command:
  wago_lampe:
    url: "http://192.168.191.10/WRITEPI?ADR1={{Adresse}}&VALUE1={{Wert}}&FORMAT1=%25d"
    # method: GET
  wago_rollade:
    url: "http://192.168.191.10/WRITEPI?ADR1={{Adresse}}&VALUE1={{Wert}}&FORMAT1=%25d"

light: !include wago_light.yaml
scrape: !include wago_scrape.yaml
cover: !include wago_cover.yaml

influxdb:
  host: 192.168.191.130
  port: 8086
  database: homeassistant
  username: xxxx
  password: xxxx
  ssl: false
  verify_ssl: false
  max_retries: 3
  default_measurement: state

  tags:
    instance: prod
    source: hass

Hast du selber was in der automation.yaml geändert?
Ich würde empfehlen nie manuell was in der yaml zu ändern.

Hast du einfach mal das ganze System nochmal neu gestartet?

Ich habe auf die schnelle kein Fehler in der yaml gefunden.

Hallo,

Neustart hatte ich schon gemacht.

Automationen habe ich tatsächlich immer nur über die gui erstellt. Ich habe eben den letzten Block aus der Datei gelöscht und neu gestartet. Jetzt ist alles wieder da. An dem war ich auch über die Gui dran bevor das passierte

Hmm, das einzige was ich da anders machen würde ist das:

würde ich so machen:

      message: |
        Roborock hat ein Problem. {{ states('sensor.saros_z70_dock_dock_fehler') }}

LG