ESP Temperature update fail

Hello,

since last update I can’t update my sensor temperature

Échec de l’appel du service update/install. Error compiling esptemperature.yaml; Try again in ESPHome dashboard for more information.

But I think I have update my yaml with tag OTA

esphome:
  name: esptemperature
  friendly_name: EspTemperature

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "***********="

ota:
  platform: "esphome"
  password: "**********"

wifi:
  ssid: "*******************"
  password: "*****"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esptemperature Fallback Hotspot"
    password: "******************"

captive_portal:

# Example configuration entry
dallas:
  - pin: GPIO4

# Note you don't have to add any sensors at this point
sensor:
  - platform: dallas
    address: 0x1280000004137f28
    name: "Temperature eau"

Somebody can help me ?

Thx

This changed in the last update. Read the release notes. It is now called one-wire. Also see this topic: Heads up for Esphome 2024.6 - #13 by Troon

Also: https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

Please see :

you use the old version

Yes,

I have already edit my yaml for ota

ota:
platform: "esphome"
password: "*****"

And now the second par gpio :

one_wire:
  - platform: gpio
    pin: GPIO4
sensor:
  - platform: dallas
    address: 0x1280000004137f28
    name: "Temperature eau"

Reboot and I have always :
Échec de l’appel du service update/install. Error compiling esptemperature.yaml; Try again in ESPHome dashboard for more information.

1 Like

Sorry I edit :wink:

Should be

 - platform: dallas_temp
1 Like

Thx it’s work with platform: dallas_temp

1 Like