Error including into ESPHome via HomeAssistant
Opened this issue · 1 comments
Node815 commented
I got the update alerts that others were having with the ESP v 7. I couldn't get it to update, so I took a chance at updating the firmware from the plug's web interface, that worked, but it reset the plug so I deleted the old config file for the device in the ESP home directory and it fails to adopt it now.
INFO ESPHome 2023.7.0
INFO Reading configuration /config/esphome/kauf-plug-7aacf4.yaml...
INFO Detected timezone 'America/Los_Angeles'
INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Compiling app...
Processing dishwasher (board: esp01_1m; framework: arduino; platform: platformio/espressif8266@3.2.0)
--------------------------------------------------------------------------------
Library Manager: Installing esphome/ESPAsyncTCP-esphome @ 1.2.3
INFO Installing esphome/ESPAsyncTCP-esphome @ 1.2.3
Unpacking [####################################] 100%
Library Manager: ESPAsyncTCP-esphome@1.2.3 has been installed!
INFO ESPAsyncTCP-esphome@1.2.3 has been installed!
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
INFO Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
Unpacking [####################################] 100%
Library Manager: ESPAsyncWebServer-esphome@2.1.0 has been installed!
INFO ESPAsyncWebServer-esphome@2.1.0 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing ottowinter/ESPAsyncTCP-esphome
INFO Installing ottowinter/ESPAsyncTCP-esphome
Unpacking [####################################] 100%
Library Manager: ESPAsyncTCP-esphome@1.2.3 has been installed!
INFO ESPAsyncTCP-esphome@1.2.3 has been installed!
Library Manager: Installing bblanchon/ArduinoJson @ 6.18.5
INFO Installing bblanchon/ArduinoJson @ 6.18.5
Unpacking [####################################] 100%
Library Manager: ArduinoJson@6.18.5 has been installed!
INFO ArduinoJson@6.18.5 has been installed!
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
|-- ArduinoJson @ 6.18.5
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/api_connection.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/api_frame_helper.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/api_pb2.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/api_pb2_service.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/api_server.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/list_entities.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/proto.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/subscribe_state.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/api/user_services.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/binary_sensor/automation.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/binary_sensor/binary_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/binary_sensor/filter.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/button/button.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/esp8266/core.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/esp8266/gpio.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/esp8266/preferences.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/esp8266_pwm/esp8266_pwm.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/gpio/binary_sensor/gpio_binary_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/gpio/switch/gpio_switch.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/homeassistant/time/homeassistant_time.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/json/json_util.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/kauf_hlw8012/kauf_hlw8012.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/logger/logger.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/md5/md5.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/mdns/mdns_component.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/mdns/mdns_host.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/network/util.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/number/automation.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/number/number.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/number/number_call.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/number/number_traits.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/ota/ota_component.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/output/automation.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/output/float_output.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/restart/button/restart_button.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/script/script.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/select/select.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/select/select_call.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/select/select_traits.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/sensor/automation.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/sensor/filter.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/sensor/sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/socket/socket.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/switch/automation.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/switch/switch.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/template/binary_sensor/template_binary_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/template/number/template_number.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/template/select/template_select.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/template/sensor/template_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/template/switch/template_switch.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/text_sensor/filter.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/text_sensor/text_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/time/automation.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/time/real_time_clock.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/total_daily_energy/total_daily_energy.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/uptime/uptime_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/web_server/list_entities.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/web_server/web_server.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/wifi/wifi_component.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/components/wifi_info/wifi_info_text_sensor.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/application.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/color.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/component.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/component_iterator.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/controller.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/entity_base.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/helpers.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/log.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/scheduler.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/string_ref.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/time.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/esphome/core/util.cpp.o
Compiling /data/dishwasher/.pioenvs/dishwasher/src/main.cpp.o
Generating LD script /data/dishwasher/.pioenvs/dishwasher/ld/local.eagle.app.v6.common.ld
Compiling /data/dishwasher/.pioenvs/dishwasher/lib23c/ESPAsyncTCP-esphome/AsyncPrinter.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&&'
Compiling /data/dishwasher/.pioenvs/dishwasher/lib23c/ESPAsyncTCP-esphome/ESPAsyncTCP.cpp.o
*** [/data/dishwasher/.pioenvs/dishwasher/src/main.cpp.o] Error 1
========================= [FAILED] Took 77.58 seconds =========================`
```
I had a saved copy of the file I deleted for the device so I copied the config from there and tried again and got the same error. I had another plug I left alone and for comparision, I tried making a copy to download for manual install (as a test) and it errors with the same exact one. So, I'm not sure if there is another issue at play or not.
```
INFO ESPHome 2023.7.0
INFO Reading configuration /config/esphome/oldkauf2.yaml...
INFO Detected timezone 'America/Los_Angeles'
INFO Generating C++ source...
INFO Compiling app...
Processing kauf2 (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
|-- ArduinoJson @ 6.18.5
Compiling /data/kauf2/.pioenvs/kauf2/src/main.cpp.o
Compiling /data/kauf2/.pioenvs/kauf2/lib67b/ESP8266WiFi/CertStoreBearSSL.cpp.o
Compiling /data/kauf2/.pioenvs/kauf2/lib67b/ESP8266WiFi/ESP8266WiFi.cpp.o
Compiling /data/kauf2/.pioenvs/kauf2/lib67b/ESP8266WiFi/ESP8266WiFiAP.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&&'
Compiling /data/kauf2/.pioenvs/kauf2/lib67b/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
*** [/data/kauf2/.pioenvs/kauf2/src/main.cpp.o] Error 1
========================== [FAILED] Took 7.81 seconds ==========================
```
EDITED For better formatting.
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.