From 1dfe2f72adedae49ca3023891a7f052f442def4e Mon Sep 17 00:00:00 2001 From: gmn42 <78309818+gmn42@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:41:05 -0700 Subject: [PATCH] Update generator.yaml to esphome 24.6.0 syntax ESPHome has changed the config format for OTA updates and one-wire Dallas temp sensors in version 2024.6.0. It will not accept the old format, so these changes need to be made before the yaml will compile and firmware installed. See: https://esphome.io/changelog/2024.6.0#ota-platforms https://esphome.io/changelog/2024.6.0#wire Note that I have not personally tested this specific yaml file, but I have made the same changes to mine and they work correctly. --- esphome/generator.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/esphome/generator.yaml b/esphome/generator.yaml index 115b5a2..e9ac42c 100644 --- a/esphome/generator.yaml +++ b/esphome/generator.yaml @@ -19,6 +19,7 @@ logger: api: ota: + platform: esphome password: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" wifi: @@ -60,18 +61,20 @@ status_led: pin: GPIO2 -dallas: - - pin: 4 # GPIO4 (pin 24) - update_interval: 30s +one_wire: + - platform: gpio + pin: 4 # GPIO4 (pin 24) sensor: # see https://esphome.io/components/sensor/dallas.html#getting-sensor-ids to find IDs - - platform: dallas + - platform: dallas_temp address: 0x65000006a8115937 name: "Generator Ambient Temperature" - - platform: dallas + update_interval: 30s + - platform: dallas_temp address: 0x080000056e145237 name: "Generator Engine Temperature" + update_interval: 30s - platform: wifi_signal