ESP Home Dallas - Update-Config Änderung - Wo liegt der Fehler?

Ich bräuchte mal Hilfe mit der Änderung der Konfiguration, damit wieder Updates funktionieren.

Ich habe schon was geändert, bekomme aber folgende Fehlermeldung:

> Updating /config/esphome/esp-temp-1.yaml
> ------------------------------------------------------------
> 
> INFO ESPHome 2024.7.3
> INFO Reading configuration /config/esphome/esp-temp-1.yaml...
> Failed config
> 
> dallas: [source /config/esphome/esp-temp-1.yaml:40]
>   
>   The "dallas" component has been replaced by the "one_wire" component.
>   https://esphome.io/components/one_wire.
>   - pin: 
>       number: GPIO2
>       mode: 
>         input: True
>         pullup: True
>     update_interval: 60s
> ========= [ERROR] /config/esphome/esp-temp-1.yaml =========
> 
> 
> 
> ======================== [SUMMARY] ========================
>   - /config/esphome/esp-temp-1.yaml: FAILED

Hier mein Script:

> esphome:
>   name: esp-temp-1
>   friendly_name: ESP-Temp_1
> 
> esp8266:
>   board: esp01_1m
> 
> # Enable logging
> logger:
> 
> # Enable Home Assistant API
> api:
>   encryption:
>     key: "zXPnTC3x92SE+1g9nOrr3OAddiM+AbkO2gqakQbN/+w="
> 
> ota:
>   password: "5d9ffa6697a64c094960e0ac7ef31ab2"
>   platform: esphome
> 
> wifi:
>   ssid: !secret wifi_ssid
>   password: !secret wifi_password
> 
>   # Enable fallback hotspot (captive portal) in case wifi connection fails
>   ap:
>     ssid: "Esp-Temp-1 Fallback Hotspot"
>     password: "ZrbO7TMnYJCn"
> 
> captive_portal:
> 
> one_wire:
>  - id: bus_one
>    platform: gpio
>    pin:
>     number: GPIO2
>     mode:
>       input: true
>       pullup: true
>     
> dallas:
>   pin:
>     number: GPIO2
>     mode:
>       input: true
>       pullup: true
>   update_interval: 60s 
> 
> sensor:
>   - platform: dallas
>     address: 0x1bac73730a646128
>     name: "Heizung Vorlauf"
>     unit_of_measurement: "°C"
>     icon: "mdi:thermometer-plus"
>     device_class: "temperature"
>     state_class: "measurement"
>     accuracy_decimals: 1
>   - platform: dallas
>     address: 0x92f27f730a646128
>     name: "Heizung Rücklauf"
>     unit_of_measurement: "°C"
>     icon: "mdi:thermometer-plus"
>     device_class: "temperature"
>     state_class: "measurement"
>     accuracy_decimals: 1

Der Dallas Abschnitt muss raus

Wir hatten das Thema hier schon mal:

LG
Tobi

Danke - läuft wieder.

Thema hatte ich schon gesehen, mir war nur nicht ganz klar, was genau
geändert werden musste.