Problem with update esphome - config error

Hello

Some time ago I created a thermostat in esphome, so far everything was ok, but for some time I can’t update it because it throws an error in the config:

Failed config

climate.thermostat: [source /config/esphome/esp32-ble-reciever-floor1.yaml:105]
  
  default_target_temperature_low is no longer valid. Please switch to using a preset for an equivalent experience.
  Equivalent configuration:
  
  preset:
    -  name: Your new preset
       default_target_temperature_low: 20.0.
  platform: thermostat
  name: Termostat Sypialnia
  sensor: temperatura_sypialnia
  default_target_temperature_low: 20 °C
  min_heating_off_time: 300s
  min_heating_run_time: 300s
  min_idle_time: 300s
  heat_action: 
    - switch.turn_on: relay_heater_bedroom
  idle_action: 
    - switch.turn_off: relay_heater_bedroom
climate.thermostat: [source /config/esphome/esp32-ble-reciever-floor1.yaml:117]

I looked at the eshome website and according to the documentation nothing has changed

This


default_target_temperature_low: 20

Looks like it should be this instead

default_preset: Home
preset:
      - name: Home
        default_target_temperature_low: 20 °C
        default_target_temperature_high: 22 °C

1 Like

after fix code i have fatal error 9 :frowning:

INFO Reading configuration /config/esphome/esp32-ble-reciever-floor1.yaml...
WARNING GPIO15 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing esp32-ble-reciever-floor1 (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
|   |-- AsyncTCP-esphome @ 1.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
Compiling /data/esp32-ble-reciever-floor1/.pioenvs/esp32-ble-reciever-floor1/src/main.cpp.o
Linking /data/esp32-ble-reciever-floor1/.pioenvs/esp32-ble-reciever-floor1/firmware.elf
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
*** [/data/esp32-ble-reciever-floor1/.pioenvs/esp32-ble-reciever-floor1/firmware.elf] Error 1
========================= [FAILED] Took 87.65 seconds =========================

Google suggests ram issue on that error.

signal 9 [Killed] may mean that you exceeded the RAM available on the machine, and the kernel out-of-memory (OOM) killer killed the process. Whatever killed the ld process,

It is memory exhaustion. The sampling interval for the memory measurement is just not small enough that it covers the exact point where the OOM killer kicks in.