Warning During Update of ESP Devices - ESP Version 2023.6

I installed the ESPHome 2023.6 update this morning. During update of the ESP devices, a warning appeared for three of four devices during code compile. This is the first time a warning occurred when updating the devices. The warning is shown below.

INFO ESPHome 2023.6.0
INFO Reading configuration /config/esphome/door-contacts-garage.yaml...
INFO Detected timezone 'America/Toronto'
INFO Generating C++ source...
INFO Compiling app...
Processing door-contacts-garage (board: d1_mini; framework: arduino; platform: platformio/[email protected])
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 1.2.3
|-- ESPAsyncWebServer-esphome @ 2.1.0
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
Compiling /data/door-contacts-garage/.pioenvs/door-contacts-garage/src/main.cpp.o
In file included from src/esphome/components/time/real_time_clock.h:8,
                 from src/esphome/components/homeassistant/time/homeassistant_time.h:4,
                 from src/esphome.h:24,
                 from src/main.cpp:3:
src/esphome/core/time.h:11:13: warning: 'bool esphome::is_leap_year(uint32_t)' declared 'static' but never defined [-Wunused-function]
   11 | static bool is_leap_year(uint32_t year);
      |             ^~~~~~~~~~~~
src/esphome/core/time.h:13:16: warning: 'uint8_t esphome::days_in_month(uint8_t, uint16_t)' declared 'static' but never defined [-Wunused-function]
   13 | static uint8_t days_in_month(uint8_t month, uint16_t year);
      |                ^~~~~~~~~~~~~
Linking /data/door-contacts-garage/.pioenvs/door-contacts-garage/firmware.elf
RAM:   [====      ]  43.4% (used 35532 bytes from 81920 bytes)
Flash: [=====     ]  49.5% (used 516597 bytes from 1044464 bytes)
Building /data/door-contacts-garage/.pioenvs/door-contacts-garage/firmware.bin
esp8266_copy_factory_bin(["/data/door-contacts-garage/.pioenvs/door-contacts-garage/firmware.bin"], ["/data/door-contacts-garage/.pioenvs/door-contacts-garage/firmware.elf"])
========================= [SUCCESS] Took 15.37 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of door-contacts-garage.local
INFO  ->
INFO Uploading /data/door-contacts-garage/.pioenvs/door-contacts-garage/firmware.bin (520752 bytes)
INFO Compressed to 361426 bytes
Uploading: [============================================================] 100% Done...

INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from door-contacts-garage.local using esphome API

The three problematic devices are used for door open/closed detection, water level and salt level warnings. This warning noted above never occurred during past updates. Why now?

Already reported on github issue 4581

Thank you. Never thought to look on github.

Issue should have been addressed in 2023.6.2

1 Like