-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
ESPHome 2025.11.0 came out the other day and I just tried installing it on one of @Sammy1Am 's boards & unfortunately it fails with one build error in src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp .
Cleaning the Build Files did unfortunately not solve the problem.
The other build warnings are also new / haven't seen them before despite quasi updating with every new ESPHome release, so not sure if some of the tooling changed?
Anyway, the build/install etc log is the following:
INFO ESPHome 2025.11.0
INFO Reading configuration /config/esphome/mitp-heat-pump-adae60.yaml...
WARNING GPIO9 is a strapping PIN and should only be used for I/O with care.
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 Detected timezone 'America/Los_Angeles'
INFO Generating C++ source...
INFO Compiling app... Build path: /data/build/mitp-heat-pump-adae60
Processing mitp-heat-pump-adae60 (board: esp32-c3-devkitm-1; framework: arduino, espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.31-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Package configuration completed successfully
Library Manager: Installing esphome/noise-c @ 0.1.10
INFO Installing esphome/noise-c @ 0.1.10
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: noise-c@0.1.10 has been installed!
INFO noise-c@0.1.10 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/libsodium @ 1.10020.7
INFO Installing esphome/libsodium @ 1.10020.7
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: libsodium@1.10020.7 has been installed!
INFO libsodium@1.10020.7 has been installed!
Library Manager: Installing git+https://github.com/muart-group/itp-packet.git
INFO Installing git+https://github.com/muart-group/itp-packet.git
git version 2.39.5
Cloning into '/data/cache/platformio/cache/tmp/pkg-installing-exb64uy7'...
Library Manager: itp-packet@0.0.0+20251119233226.sha.0d5a73b has been installed!
INFO itp-packet@0.0.0+20251119233226.sha.0d5a73b has been installed!
INFO Package configuration completed successfully
HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash
- contrib-piohome @ 3.4.4
- framework-arduinoespressif32 @ 3.3.2
- framework-arduinoespressif32-libs @ 5.5.0+sha.129cd0d247
- framework-espidf @ 3.50501.0 (5.5.1)
- tool-cmake @ 4.0.3
- tool-esp-rom-elfs @ 2024.10.11
- tool-esptoolpy @ 5.1.0
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.13.1
- tool-scons @ 4.40801.0 (4.8.1)
- toolchain-riscv32-esp @ 14.2.0+20241119
Reading CMake configuration...
Generating assembly for certificate bundle...
Dependency Graph
|-- Networking @ 3.3.2
|-- WiFi @ 3.3.2
|-- ESPmDNS @ 3.3.2
|-- Update @ 3.3.2
|-- noise-c @ 0.1.10
|-- itp-packet @ 0.0.0+20251119233226.sha.0d5a73b
Generating assembly for .pioenvs/mitp-heat-pump-adae60/https_server.crt.S
Generating assembly for .pioenvs/mitp-heat-pump-adae60/rmaker_mqtt_server.crt.S
Generating assembly for .pioenvs/mitp-heat-pump-adae60/rmaker_claim_service_server.crt.S
Generating assembly for .pioenvs/mitp-heat-pump-adae60/rmaker_ota_server.crt.S
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/api_frame_helper_noise.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/binary_sensor/automation.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/binary_sensor/binary_sensor.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/binary_sensor/filter.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/button/button.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/climate/climate.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/climate/climate_mode.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/climate/climate_traits.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/dashboard_import/dashboard_import.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/esp32/gpio.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/esp32/helpers.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/esphome/ota/ota_esphome.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/ethernet/esp_eth_phy_jl1101.c.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/ethernet/ethernet_component.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/homeassistant/time/homeassistant_time.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/logger/logger_esp32.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/logger/task_log_buffer.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/mitsubishi_itp/mitp_bridge.cpp.o
Compiling .pioenvs/mitp-heat-pump-adae60/src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp.o
In file included from src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp:1:
src/esphome/components/mitsubishi_itp/mitsubishi_itp.h: In lambda function:
src/esphome/components/mitsubishi_itp/mitsubishi_itp.h:132:27: warning: 'void esphome::climate::ClimateTraits::set_supports_action(bool)' is deprecated: This method is deprecated, use add_feature_flags() instead [-Wdeprecated-declarations]
132 | ct.set_supports_action(true);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from src/esphome/components/climate/climate.h:9,
from src/esphome/core/application.h:48,
from src/esphome/components/mitsubishi_itp/mitsubishi_itp.h:3:
src/esphome/components/climate/climate_traits.h:130:8: note: declared here
130 | void set_supports_action(bool supports_action) {
| ^~~~~~~~~~~~~~~~~~~
src/esphome/components/mitsubishi_itp/mitsubishi_itp.h:133:40: warning: 'void esphome::climate::ClimateTraits::set_supports_current_temperature(bool)' is deprecated: This method is deprecated, use add_feature_flags() instead [-Wdeprecated-declarations]
133 | ct.set_supports_current_temperature(true);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/esphome/components/climate/climate_traits.h:86:8: note: declared here
86 | void set_supports_current_temperature(bool supports_current_temperature) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/components/mitsubishi_itp/mitsubishi_itp.h:134:49: warning: 'void esphome::climate::ClimateTraits::set_supports_two_point_target_temperature(bool)' is deprecated: This method is deprecated, use add_feature_flags() instead [-Wdeprecated-declarations]
134 | ct.set_supports_two_point_target_temperature(false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/esphome/components/climate/climate_traits.h:108:8: note: declared here
108 | void set_supports_two_point_target_temperature(bool supports_two_point_target_temperature) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp: In member function 'virtual void esphome::mitsubishi_itp::MitsubishiUART::control(const esphome::climate::ClimateCall&)':
src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp:12:34: error: request for member 'has_value' in '(& call)->esphome::climate::ClimateCall::get_custom_fan_mode()', which is of non-class type 'const char*'
12 | if (call.get_custom_fan_mode().has_value()) {
| ^~~~~~~~~
src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp:13:36: error: request for member 'value' in '(& call)->esphome::climate::ClimateCall::get_custom_fan_mode()', which is of non-class type 'const char*'
13 | if (call.get_custom_fan_mode().value() == FAN_MODE_VERYHIGH) {
| ^~~~~
src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp:14:28: error: cannot convert 'const std::string' {aka 'const std::__cxx11::basic_string<char>'} to 'const char*'
14 | set_custom_fan_mode_(FAN_MODE_VERYHIGH);
| ^~~~~~~~~~~~~~~~~
| |
| const std::string {aka const std::__cxx11::basic_string<char>}
src/esphome/components/climate/climate.h:278:41: note: initializing argument 1 of 'bool esphome::climate::Climate::set_custom_fan_mode_(const char*)'
278 | bool set_custom_fan_mode_(const char *mode);
| ~~~~~~~~~~~~^~~~
src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp:99:73: warning: 'bool esphome::climate::ClimateTraits::get_supports_two_point_target_temperature() const' is deprecated: This method is deprecated, use get_feature_flags() instead [-Wdeprecated-declarations]
99 | if (this->get_traits().get_supports_two_point_target_temperature()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/components/climate/climate_traits.h:104:8: note: declared here
104 | bool get_supports_two_point_target_temperature() const {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pioenvs/mitp-heat-pump-adae60/src/esphome/components/mitsubishi_itp/mitsubishi_itp-climatecall.cpp.o] Error 1
========================= [FAILED] Took 37.86 seconds =========================
Metadata
Metadata
Assignees
Labels
No labels