Automations GUI leer

Hallo ich bin der neue und relativ frisch vom IOB zu HA, gewechselt. Bin mit meinem DB und meinen Automationen auch schon sehr zufrieden, Simons Videos haben da sehr geholfen und auch der ein oder andere Blick hier ins Forum. Ich habe aber gleich 2 Probleme, erstens muss ich viele Integrationen manuell neu laden, da sehr viele mit Konfigurationsfehler nicht automatisch geladen werden Die meisten davon lassen sich neu laden, das 2. Problem ist das meine Automationen in GUI nicht erscheinen, wohl aber in der Yaml. meine Configuration.yaml, sieht aber meines Erachtens nicht falsch aus. Hingegen habe ich bei meiner Automations.yaml festgestellt, dass die Aliase mal auskommentiert sind und mal nicht, kann das einen Einfluss auf das Laden der Gui haben?

System ist ein neuer PI5 mit 128GB SD Card. Das hab ich vorher neu gekauft, weil der alte mit dem IO Broker doch schon recht behäbig war.

Configuration.yaml

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

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

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

homeassistant:
  packages: !include_dir_merge_named packages/

template:
  - trigger:
      - trigger: time
        at: "14:00:00"
      - trigger: homeassistant
        event: start
    action:
      - action: tibber.get_prices
        data:
          end: "{{ (now() + timedelta(days=1)).strftime('%Y-%m-%d 23:59:59') }}"
        response_variable: tomorrow_price
    sensor:
      - name: tibber prices
        unique_id: tibber_prices
        state: >
              {% set key = tomorrow_price['prices'] | list | first %}
              {% set prices = tomorrow_price['prices'][key] | map(attribute='price') | list %}
              {{ (prices | sum / prices | count) | round(4) }}
        attributes:
          data: >
            {% set data = namespace(prices=[]) %}
            {% set key = tomorrow_price['prices'] | list | first %}
            {% for state in tomorrow_price['prices'][key] %}
              {% set data.prices = data.prices + [{'start_time': state.start_time, 'price_per_kwh': state.price}] %}
            {% endfor %}
            {{ data.prices }}

Die Automations.yaml

Die Auskommentierung habe ich jetzt einmal komplett rausgenommen. Brachte keinen Unterschied

- id: '1760260800013'
  alias: Deckenspots Esszimmer
  description: ''
  triggers:
  - device_id: 131170daff2dd342f592bc3d5e75ba95
    domain: hue
    type: initial_press
    subtype: 1
    unique_id: 8e88b2cd-c0db-47ba-b8d2-81e32943268b
    trigger: device
  conditions: []
  actions:
  - action: light.toggle
    metadata: {}
    data:
      brightness_pct: 100
      color_temp_kelvin: 6500
    target:
      label_id: deckenspots_esszimmer
  mode: single
- id: '1760260887943'
  alias: Pendelleuchte ein/aus
  description: ''
  triggers:
  - device_id: 131170daff2dd342f592bc3d5e75ba95
    domain: hue
    type: initial_press
    subtype: 3
    unique_id: 1515bec6-172e-4efe-92a8-d6619c214ad3
    trigger: device
  conditions: []
  actions:
  - action: light.toggle
    metadata: {}
    data: {}
    target:
      device_id: 06168bb46211708b0d90d75fdcca71e2
  mode: single
- id: '1760263055484'
  alias: Lampen Sideboard
  description: ''
  triggers:
  - device_id: 131170daff2dd342f592bc3d5e75ba95
    domain: hue
    type: initial_press
    subtype: 4
    unique_id: 4d6f32c8-c4b1-4a6d-bfd9-67d002bf4fb1
    trigger: device
  conditions: []
  actions:
  - action: light.toggle
    metadata: {}
    data: {}
    target:
      device_id: 05ac470c0b7f58bdf579751182e6cd09
  mode: single
- id: '1760263143470'
  alias: Stehlampe An/Aus
  description: ''
  triggers:
  - device_id: 131170daff2dd342f592bc3d5e75ba95
    domain: hue
    type: initial_press
    subtype: 2
    unique_id: 9b95875e-7e54-4564-b778-3370397b3a3b
    trigger: device
  conditions: []
  actions:
  - action: light.toggle
    metadata: {}
    data: {}
    target:
      device_id: 635e323fe9ec45a5be9055f846b8ed2a
  mode: single
- id: '1760283712546'
  alias: Aussenbeleuchtung an
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - schedule.zeitschaltuhr_aussenbeleuchtung
    to: 'on'
  - trigger: sun
    event: sunset
    offset: 0
  conditions:
  - condition: sun
    after: sunset
  - condition: state
    entity_id: schedule.zeitschaltuhr_aussenbeleuchtung
    state: 'on'
  actions:
  - action: light.turn_on
    metadata: {}
    data:
      color_temp_kelvin: 6500
      brightness_pct: 100
    target:
      area_id: hortensienbeet
  - action: light.turn_on
    metadata: {}
    data:
      rgb_color:
      - 255
      - 255
      - 255
      color_temp_kelvin: 6500
      brightness_pct: 100
    target:
      label_id: aussenbeleuchtung
      floor_id: vorgarten
  mode: single
- id: '1760345539782'
  alias: Kräutergarten Küche Beleuchtung an
  description: ''
  triggers:
  - trigger: numeric_state
    entity_id:
    - sensor.e3dc_solar_power
    for:
      hours: 0
      minutes: 5
      seconds: 0
    above: 120
  conditions:
  - condition: numeric_state
    entity_id: sensor.e3dc_solar_power
    above: 120
  actions:
  - type: turn_on
    device_id: 53fbcca6f9ced21b9f89da078a90acf8
    entity_id: a7391bdffc84cafc0f83d9dd9072345d
    domain: switch
  mode: single
- id: '1760345666523'
  alias: Kräutergarten Küche Beleuchtung aus
  description: ''
  triggers:
  - trigger: numeric_state
    entity_id:
    - sensor.e3dc_solar_power
    for:
      hours: 0
      minutes: 5
      seconds: 0
    below: 90
  conditions:
  - condition: numeric_state
    entity_id: sensor.e3dc_solar_power
    below: 90
  actions:
  - type: turn_off
    device_id: 53fbcca6f9ced21b9f89da078a90acf8
    entity_id: a7391bdffc84cafc0f83d9dd9072345d
    domain: switch
  mode: single
- id: '1760360986276'
  alias: Ladesteuerung SmarthomeTablet Ein
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - sensor.fire_tablet_batterie
    from: '21'
    to: '20'
  conditions: []
  actions:
  - action: switch.turn_on
    metadata: {}
    data: {}
    target:
      device_id: 9a4bda2587099adabe0c7dac36697564
  mode: single
- id: '1760361223715'
  alias: Ladesteuerung Smarthome Tablet Aus
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - sensor.fire_tablet_batterie
    from: '79'
    to: '80'
  conditions: []
  actions:
  - action: switch.turn_off
    metadata: {}
    data: {}
    target:
      device_id: 9a4bda2587099adabe0c7dac36697564
  mode: single
- id: '1760378744011'
  alias: Lüfter Keller Ein
  description: ''
  triggers:
  - trigger: numeric_state
    entity_id:
    - sensor.e3dc_solar_power
    for:
      hours: 0
      minutes: 5
      seconds: 0
    above: 120
  conditions:
  - condition: numeric_state
    entity_id: sensor.e3dc_solar_power
    above: 120
  actions:
  - type: turn_on
    device_id: dc5eb3da54b2e9c393ea8998d0ac5455
    entity_id: 1495c49c20b1cd0e6d9412ba2b3adb44
    domain: switch
  mode: single
- id: '1760378823655'
  alias: Lüfter Keller aus
  description: ''
  triggers:
  - trigger: numeric_state
    entity_id:
    - sensor.e3dc_solar_power
    for:
      hours: 0
      minutes: 5
      seconds: 0
    below: 90
  conditions:
  - condition: numeric_state
    entity_id: sensor.e3dc_solar_power
    below: 90
  actions:
  - type: turn_off
    device_id: dc5eb3da54b2e9c393ea8998d0ac5455
    entity_id: 1495c49c20b1cd0e6d9412ba2b3adb44
    domain: switch
  mode: single
- id: '1760380236087'
  alias: Essenszeit Ein
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - schedule.essenszeit
    to: 'on'
  conditions: []
  actions:
  - type: turn_on
    device_id: 06168bb46211708b0d90d75fdcca71e2
    entity_id: 4ba4654d88beabdeb8be0797a1a7d050
    domain: light
  - action: switch.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: switch.sideboard_lampen_esszimmer
  mode: single
- id: '1760380360318'
  alias: Essenszeit aus
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - schedule.essenszeit
    to: 'off'
  conditions: []
  actions:
  - type: turn_off
    device_id: 06168bb46211708b0d90d75fdcca71e2
    entity_id: 4ba4654d88beabdeb8be0797a1a7d050
    domain: light
  - action: switch.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: switch.sideboard_lampen_esszimmer
  mode: single
- id: '1760393382976'
  alias: Benachrichtigung Wäschetrockner
  description: ''
  triggers:
  - trigger: numeric_state
    entity_id:
    - sensor.smartstecker_waschetrockner_energy_power
    for:
      hours: 0
      minutes: 5
      seconds: 0
    above: 80
  conditions: []
  actions:
  - wait_for_trigger:
    - trigger: numeric_state
      entity_id:
      - sensor.smartstecker_waschetrockner_energy_power
      for:
        hours: 0
        minutes: 5
        seconds: 0
      below: 5
    timeout:
      hours: 4
      minutes: 0
      seconds: 0
      milliseconds: 0
  - action: notify.mobile_app_iphone_von_kai
    metadata: {}
    data:
      title: 'Wäschetrockner '
      message: ' ist fertig'
  - action: input_boolean.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.waschetrockner_fertig
  mode: single
- id: '1760436317943'
  alias: Außenbeleuchtung Aus
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - schedule.zeitschaltuhr_aussenbeleuchtung
    to: 'off'
  - trigger: sun
    event: sunrise
    offset: 0
  conditions:
  - condition: sun
    after: sunrise
  - condition: state
    entity_id: schedule.zeitschaltuhr_aussenbeleuchtung
    state: 'off'
  actions:
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      label_id: aussenbeleuchtung
      area_id: hortensienbeet
  mode: single
- id: '1760542384352'
  alias: LED Spots Wohnzimmer
  description: ''
  triggers:
  - device_id: cf555993996bf99ea312e1b3f035b202
    domain: hue
    type: initial_press
    subtype: 1
    unique_id: 210a9ec9-83b9-4352-a76f-f8ff16fc49fd
    trigger: device
  conditions: []
  actions:
  - action: light.toggle
    metadata: {}
    data:
      brightness_pct: 100
      color_temp_kelvin: 6500
    target:
      entity_id:
      - light.wohnzimmer_led_spot_1
      - light.wohnzimmer_led_spot_2
  mode: single
- id: '1760545166944'
  alias: Aktivierung Fernsehabend
  description: ''
  triggers:
  - device_id: cf555993996bf99ea312e1b3f035b202
    domain: hue
    type: initial_press
    subtype: 2
    unique_id: aced40e8-0f02-40d5-90cb-df9b37fc1ee8
    trigger: device
  conditions: []
  actions:
  - action: scene.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: scene.fernsehabend_an
  mode: single
- id: '1760553309390'
  alias: Beleuchtung Wohnzimmer aus
  description: ''
  triggers:
  - device_id: cf555993996bf99ea312e1b3f035b202
    domain: hue
    type: repeat
    subtype: 1
    unique_id: 210a9ec9-83b9-4352-a76f-f8ff16fc49fd
    trigger: device
  conditions:
  - condition: state
    entity_id: light.wohnzimmer_led_spot_1
    state: 'on'
  - condition: state
    entity_id: light.wohnzimmer_led_spot_2
    state: 'on'
  - condition: state
    entity_id: light.smart_bulb_2202244273906690870548e1e98a7ea3
    state: 'on'
  - condition: state
    entity_id: light.smart_rgbtw_bulb
    state: 'on'
  - condition: state
    entity_id: light.smart_rgbtw_bulb_2
    state: 'on'
  actions:
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      label_id:
      - beleuchtung_wohnzimmer
      - pendelleuchten_wohnzimmer
  mode: single
- id: '1760628350426'
  alias: Pendelleuchten Wohnzimmer An/Aus
  description: ''
  triggers:
  - device_id: cf555993996bf99ea312e1b3f035b202
    domain: hue
    type: initial_press
    subtype: 3
    unique_id: 27457c22-de76-4a8c-8996-824f8b43f2ad
    trigger: device
  conditions: []
  actions:
  - action: light.toggle
    metadata: {}
    data:
      brightness_pct: 100
      color_temp_kelvin: 6500
    target:
      label_id: pendelleuchten_wohnzimmer
  mode: single
- id: '1760705095426'
  alias: Garage öffnen
  description: ''
  triggers:
  - trigger: zone
    entity_id: person.kai
    zone: zone.home
    event: enter
  conditions:
  - condition: device
    device_id: 5440a959b84863b498f998ab3c1272ff
    domain: cover
    entity_id: 17d8e0a18ece6fa4b0169fa0b40808b5
    type: is_closed
  actions:
  - action: cover.open_cover
    metadata: {}
    data: {}
    target:
      entity_id: cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
  - wait_for_trigger:
    - trigger: state
      entity_id:
      - cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
      to: opening
    timeout:
      hours: 0
      minutes: 1
      seconds: 0
      milliseconds: 0
  - choose:
    - conditions:
      - condition: time
        after: '17:00:00'
        before: 08:00:00
      sequence:
      - action: light.turn_on
        metadata: {}
        data:
          rgb_color:
          - 0
          - 66
          - 169
          color_temp_kelvin: 6500
          brightness_pct: 100
        target:
          entity_id: light.lsc_light_strip_rgbcct
    - conditions:
      - condition: time
        after: 08:01:00
        before: '16:59:00'
      sequence:
      - action: light.turn_on
        metadata: {}
        data:
          rgb_color:
          - 255
          - 255
          - 255
          color_temp_kelvin: 6500
          brightness_pct: 100
        target:
          entity_id: light.lsc_light_strip_rgbcct
  mode: single
- id: '1760705504641'
  alias: Garage schliessen
  description: ''
  triggers:
  - trigger: zone
    entity_id: person.kai
    zone: zone.garage_auf_zu
    event: enter
  conditions:
  - condition: state
    state: open
    entity_id: cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
  actions:
  - action: cover.close_cover
    metadata: {}
    data: {}
    target:
      entity_id: cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
  mode: single
- id: '1760909034071'
  alias: LED Strip Garage ausschalten
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - automation.garage_schliessen
    from: 'on'
    to: 'off'
  conditions:
  - condition: state
    entity_id: automation.garage_schliessen
    state: 'off'
    for:
      hours: 0
      minutes: 3
      seconds: 0
  actions:
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: light.lsc_light_strip_rgbcct
  mode: single

Ich hoffe jemand kann helfen.

Die automation.yaml ist nicht zur manuellen Bearbeitung gedacht. Ich denke, du musst die Automationen initial über die GUI anlegen, damit sie dort auch sichtbar sind.

The UI will write your automations to automations.yaml. This file is managed by the UI and should not be edited manually.

Da wäre nett mal anzugeben um welche Fehler es sich handelt.

Was befindet sich bei Dir alles im Ordner packages?

Benenne mal die automations.yaml in automations.bak.yaml

Erstelle einen neu automations.yaml Prüfe die Konfiguration und lade die Automation YAML-Konfiguration neu.

Dann kopierst Du eine Automation aus der automations.bak.yaml und fügst Du diese in die automations.yaml Prüfe die Konfiguration und lade die Automation YAML-Konfiguration neu.

Schaue nach ob die Automation in der Liste der Automationen auftaucht.

Das machst Du mit jeder einzelnen Automation. So kannst Du den Fehler auf einen bestimmte Automation eingrenzen.

Wobei bei mir alle Deine Automationen geladen werden, wenn ich Deine automation.yaml verwende.

Also vermute ich mal, dass erst Problem 1 gelöst werden muss.

Gruß Osorkon

Die Automationen wurden alle über GUI angelegt, der Unterschied ist mir in der Yaml aufgefallen.

ich kann nicht sagen welche Fehler es genau sind, ich werde versuchen die Log Datei hochzuladen. Geht wohl am besten vom PC.

In der Packages ist nur die E3/DC Modbus

Anwendung

Müsste da noch mehr sein?

Diesen Ordner hast Du ja selbst erstellt und auch jeden einzelnen Inhalt.

Ob da mehr drin stehen müsste, kannst nur Du beantworten. :wink:

Was beinhaltet der Ordner e3dc?

Dachte du bekommst Fehler bei der Prüfung der Konfiguration?

Oder meinst Du Fehler im Protokoll z.B. Home Assistant Core?

Bekommst Du irgendwelche Fehler, wenn Du die Konfiguration prüfen tust?

Gruß Osorkon

Nein keine Fehler bei der Prüfung der Konfiguration.

Sinngemäß steht da: Die Konfiguration verhindert nicht den Neustart von Home Assistant

Ich dachte du meinst das Protokoll. LOL

Keine Ahnung ob da mehr drin sein muss, hab da noch nie rein geschaut. Was ist den da im Normalfall drin? Die Addon , die Hacs, ….?

Im Ornder E3/DC ist folgendes.

Es gibt den Ordner bei mir gar nicht. Der Normalfall ist es also nicht, dass es ihn gibt.

Wenn die Konfiguration Prüfung keine Fehler aufzeigt. Welche Konfiguration wird den nicht automatisch bei Home Assistant Neustart geladen, welche Du dann manuell laden musst?

Das Thema mit den Automationen wie oben beschrieben schon angegangen?

Gruß Osorkon

Es werden mehrere Integrationen nicht geladen, die jetzt aufzuzählen dauert zu lange und ich bekomme das auch nicht hin.

Bin unterwegs und nicht zuhause werde das Thema Automations.yaml morgen angehen Und dann auch das Protokoll hochladen, das Klappt am Handy nicht wirklich.

Okay, da ich sehr viel in sehr kurzer Zeit gemacht habe, muss ich erstmal schauen was ich da gemacht habe. Zum Glück gibt’s den Browserverlauf

Edit:

Ging schneller als erwartet .

Erstellt gemäß dieser Anleitung

https://github.com/MrIceman11/e3dc-homeassistant/tree/main

so heute habe ich mich dem Thema angenommen. die automations.yaml umbenannt eine neue gebaut und neu gestartet und siehe da alles keine Konfigurationsfehler. Dann nach und nach die alten Automationen eingefügt und nach deinem Text vorgegangen, keine Fehler und die Automationen wurden geladen. Jetzt wo ich eigentlich fertig bin habe ich einen Neustart gemacht, und das Ergebnis ist das:

Die Automationen sind aber noch da.

Protokolldatei:

home-assistant_2025-10-24T16-04-32.313Z.txt (75,7 KB)

Ich fang jetzt wieder von vorn an und starte bei jeder neuen automatisierung die einfüge HA neu

Scheint ja ein Netzwerk Problem zu sein.

Auf den ersten Blick sind es alles Integrationen die über WLAN/LAN oder Internet laufen.

Gruß Osorkon

Das ein Interessanter Ansatz, ich schau mal in der FRITZ!Box

kann das damit zusammenhängen das mein Zigbee Stick nicht mit Verlängerung am Pi hängt, obwohl da sind auch Sachen bei die dem Stick garnicht benutzen.

Die Verlängerung ist eigentlich obligatorisch. Das solltest du wirklich machen. Egal, ob es jetzt für dieses Problem genau verantwortlich ist oder nicht.

Ich hab jetzt nochmal die Automations.yaml leer gemacht, geprüft und neu gestartet. Dieses mal sind die Konfig Fehler geblieben.

Edit: ich behelfe mir jetzt erstmal damit, das ich einige Integrationen vor einem Neustart deaktiviere und danach wieder starte. Das hat gestern mehrfach funktioniert und verhindert das einige Integrationen garnicht geladen werden.