Error trying to upgrade PLF12 to ESPHome 2023.7.0
Opened this issue · 1 comments
DennisGarvey commented
Plug is on 2023.6.5 and errors out while upgrading to 2023.7.0. Logs below.
INFO ESPHome 2023.7.0
INFO Reading configuration /config/esphome/kauf-plug-821879.yaml...
INFO Detected timezone 'America/Los_Angeles'
INFO Generating C++ source...
INFO Compiling app...
Processing kauf-plug-821879 (board: esp01_1m; framework: arduino; platform: platformio/espressif8266@3.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 1.2.3
|-- ESPAsyncWebServer-esphome @ 2.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
Compiling /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/src/main.cpp.o
Compiling /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/libe8c/ESPAsyncTCP-esphome/ESPAsyncTCPbuffer.cpp.o
Compiling /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/libe8c/ESPAsyncTCP-esphome/SyncClient.cpp.o
Compiling /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/libe8c/ESPAsyncTCP-esphome/tcp_axtls.c.o
Archiving /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/libe8c/libESPAsyncTCP-esphome.a
Compiling /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/libaf0/Hash/Hash.cpp.o
/config/esphome/.esphome/packages/a0579e33/kauf-plug.yaml: In lambda function:
/config/esphome/.esphome/packages/a0579e33/kauf-plug.yaml:727:91: error: no matching function for call to 'esphome::binary_sensor::DelayedOnFilter::DelayedOnFilter(float&)'
727 | button_delayedonfilter = new binary_sensor::DelayedOnFilter(id(number_debounce).state);
| ^
In file included from src/esphome/components/binary_sensor/binary_sensor.h:6,
from src/esphome/core/controller.h:5,
from src/esphome/components/api/api_server.h:4,
from src/esphome/components/api/api_connection.h:6,
from src/esphome.h:3,
from src/main.cpp:3:
src/esphome/components/binary_sensor/filter.h:45:7: note: candidate: 'constexpr esphome::binary_sensor::DelayedOnFilter::DelayedOnFilter()'
45 | class DelayedOnFilter : public Filter, public Component {
| ^~~~~~~~~~~~~~~
src/esphome/components/binary_sensor/filter.h:45:7: note: candidate expects 0 arguments, 1 provided
src/esphome/components/binary_sensor/filter.h:45:7: note: candidate: 'esphome::binary_sensor::DelayedOnFilter::DelayedOnFilter(const esphome::binary_sensor::DelayedOnFilter&)'
src/esphome/components/binary_sensor/filter.h:45:7: note: no known conversion for argument 1 from 'float' to 'const esphome::binary_sensor::DelayedOnFilter&'
src/esphome/components/binary_sensor/filter.h:45:7: note: candidate: 'esphome::binary_sensor::DelayedOnFilter::DelayedOnFilter(esphome::binary_sensor::DelayedOnFilter&&)'
src/esphome/components/binary_sensor/filter.h:45:7: note: no known conversion for argument 1 from 'float' to 'esphome::binary_sensor::DelayedOnFilter&&'
Archiving /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/libaf0/libHash.a
Compiling /data/kauf-plug-821879/.pioenvs/kauf-plug-821879/lib67b/ESP8266WiFi/BearSSLHelpers.cpp.o
*** [/data/kauf-plug-821879/.pioenvs/kauf-plug-821879/src/main.cpp.o] Error 1
========================= [FAILED] Took 10.01 seconds =========================
bkaufx commented
I updated the configs for 2023.7 last night but your dashboard probably isn't downloading them yet. It won't check more than once every 24 hours. To force the dashboard to update the package now you can delete the .esphome/packages folder.