INFO ESPHome 2024.8.0 INFO Reading configuration /config/esphome/hvac1.yaml... INFO Generating C++ source... INFO Compiling app... Processing dininghp (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.4.0) -------------------------------------------------------------------------------- Library Manager: Installing git+https://github.com/SwiCago/HeatPump#5d1e146771d2f458907a855bf9d5d4b9bf5ff033 INFO Installing git+https://github.com/SwiCago/HeatPump#5d1e146771d2f458907a855bf9d5d4b9bf5ff033 git version 2.39.2 Cloning into '/data/cache/platformio/cache/tmp/pkg-installing-0m0vi5cy'... HEAD is now at 5d1e146 Merge pull request #209 from dzungpv/master Library Manager: HeatPump@1.0.0+sha.5d1e146 has been installed! INFO HeatPump@1.0.0+sha.5d1e146 has been installed! HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 Dependency Graph |-- WiFi @ 2.0.0 |-- ESPmDNS @ 2.0.0 |-- Update @ 2.0.0 |-- HeatPump @ 1.0.0+sha.5d1e146 Compiling .pioenvs/dininghp/src/esphome/components/api/api_connection.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/api_frame_helper.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/api_pb2.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/api_pb2_service.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/api_server.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/list_entities.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/proto.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/subscribe_state.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/api/user_services.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/climate/climate.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/climate/climate_mode.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/climate/climate_traits.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/dht/dht.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/esp32/core.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/esp32/gpio.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/esp32/preferences.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/esphome/ota/ota_esphome.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ethernet/esp_eth_phy_jl1101.c.o Compiling .pioenvs/dininghp/src/esphome/components/ethernet/ethernet_component.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/logger/logger.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/logger/logger_esp32.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/logger/logger_esp8266.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/logger/logger_host.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/logger/logger_libretiny.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/logger/logger_rp2040.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/md5/md5.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mdns/mdns_component.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mdns/mdns_esp32.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mdns/mdns_esp8266.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mdns/mdns_host.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mdns/mdns_libretiny.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mdns/mdns_rp2040.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/mitsubishi_heatpump/espmhp.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/network/util.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ota/ota_backend.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ota/ota_backend_arduino_libretiny.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/ota/ota_backend_esp_idf.cpp.o Compiling .pioenvs/dininghp/src/esphome/components/safe_mode/safe_mode.cpp.o In file included from src/esphome.h:27, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:21: src/esphome/components/mitsubishi_heatpump/espmhp.h:182:14: error: 'optional' in namespace 'std' does not name a template type std::optional>> remote_operating_timeout_; ^~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:182:9: note: 'std::optional' is only available from C++17 onwards std::optional>> remote_operating_timeout_; ^~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:183:14: error: 'optional' in namespace 'std' does not name a template type std::optional>> remote_idle_timeout_; ^~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:183:9: note: 'std::optional' is only available from C++17 onwards std::optional>> remote_idle_timeout_; ^~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:184:14: error: 'optional' in namespace 'std' does not name a template type std::optional>> remote_ping_timeout_; ^~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:184:9: note: 'std::optional' is only available from C++17 onwards std::optional>> remote_ping_timeout_; ^~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:185:14: error: 'optional' in namespace 'std' does not name a template type std::optional> last_remote_temperature_sensor_update_; ^~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:185:9: note: 'std::optional' is only available from C++17 onwards std::optional> last_remote_temperature_sensor_update_; ^~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:186:14: error: 'optional' in namespace 'std' does not name a template type std::optional> last_ping_request_; ^~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.h:186:9: note: 'std::optional' is only available from C++17 onwards std::optional> last_ping_request_; ^~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'virtual void MitsubishiHeatPump::control(const esphome::climate::ClimateCall&)': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:252:9: error: 'last_remote_temperature_sensor_update_' was not declared in this scope if (last_remote_temperature_sensor_update_.has_value()) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:252:9: note: suggested alternative: 'enforce_remote_temperature_sensor_timeout' if (last_remote_temperature_sensor_update_.has_value()) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enforce_remote_temperature_sensor_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'void MitsubishiHeatPump::set_remote_temperature(float)': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:625:9: error: 'last_remote_temperature_sensor_update_' was not declared in this scope last_remote_temperature_sensor_update_ = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling .pioenvs/dininghp/src/esphome/components/select/select.cpp.o src/esphome/components/mitsubishi_heatpump/espmhp.cpp:625:9: note: suggested alternative: 'enforce_remote_temperature_sensor_timeout' last_remote_temperature_sensor_update_ = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enforce_remote_temperature_sensor_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp:628:9: error: 'last_remote_temperature_sensor_update_' was not declared in this scope last_remote_temperature_sensor_update_.reset(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:628:9: note: suggested alternative: 'enforce_remote_temperature_sensor_timeout' last_remote_temperature_sensor_update_.reset(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enforce_remote_temperature_sensor_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'void MitsubishiHeatPump::ping()': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:636:5: error: 'last_ping_request_' was not declared in this scope last_ping_request_ = std::chrono::steady_clock::now(); ^~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'void MitsubishiHeatPump::set_remote_operating_timeout_minutes(int)': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:641:5: error: 'remote_operating_timeout_' was not declared in this scope remote_operating_timeout_ = std::chrono::minutes(minutes); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:641:5: note: suggested alternative: 'set_remote_operating_timeout_minutes' remote_operating_timeout_ = std::chrono::minutes(minutes); ^~~~~~~~~~~~~~~~~~~~~~~~~ set_remote_operating_timeout_minutes src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'void MitsubishiHeatPump::set_remote_idle_timeout_minutes(int)': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:646:5: error: 'remote_idle_timeout_' was not declared in this scope remote_idle_timeout_ = std::chrono::minutes(minutes); ^~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:646:5: note: suggested alternative: 'set_timeout' remote_idle_timeout_ = std::chrono::minutes(minutes); ^~~~~~~~~~~~~~~~~~~~ set_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'void MitsubishiHeatPump::set_remote_ping_timeout_minutes(int)': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:651:5: error: 'remote_ping_timeout_' was not declared in this scope remote_ping_timeout_ = std::chrono::minutes(minutes); ^~~~~~~~~~~~~~~~~~~~ Compiling .pioenvs/dininghp/src/esphome/components/select/select_call.cpp.o src/esphome/components/mitsubishi_heatpump/espmhp.cpp:651:5: note: suggested alternative: 'set_timeout' remote_ping_timeout_ = std::chrono::minutes(minutes); ^~~~~~~~~~~~~~~~~~~~ set_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp: In member function 'void MitsubishiHeatPump::enforce_remote_temperature_sensor_timeout()': src/esphome/components/mitsubishi_heatpump/espmhp.cpp:656:9: error: 'remote_ping_timeout_' was not declared in this scope if (remote_ping_timeout_.has_value() && last_ping_request_.has_value()) { ^~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:656:9: note: suggested alternative: 'set_timeout' if (remote_ping_timeout_.has_value() && last_ping_request_.has_value()) { ^~~~~~~~~~~~~~~~~~~~ set_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp:656:45: error: 'last_ping_request_' was not declared in this scope if (remote_ping_timeout_.has_value() && last_ping_request_.has_value()) { ^~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:669:28: error: 'remote_operating_timeout_' was not declared in this scope this->operating_ ? remote_operating_timeout_ : remote_idle_timeout_; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:669:28: note: suggested alternative: 'set_remote_operating_timeout_minutes' this->operating_ ? remote_operating_timeout_ : remote_idle_timeout_; ^~~~~~~~~~~~~~~~~~~~~~~~~ set_remote_operating_timeout_minutes src/esphome/components/mitsubishi_heatpump/espmhp.cpp:669:56: error: 'remote_idle_timeout_' was not declared in this scope this->operating_ ? remote_operating_timeout_ : remote_idle_timeout_; ^~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:669:56: note: suggested alternative: 'set_timeout' this->operating_ ? remote_operating_timeout_ : remote_idle_timeout_; ^~~~~~~~~~~~~~~~~~~~ set_timeout src/esphome/components/mitsubishi_heatpump/espmhp.cpp:671:13: error: 'last_remote_temperature_sensor_update_' was not declared in this scope last_remote_temperature_sensor_update_.has_value()) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/esphome/components/mitsubishi_heatpump/espmhp.cpp:671:13: note: suggested alternative: 'enforce_remote_temperature_sensor_timeout' last_remote_temperature_sensor_update_.has_value()) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enforce_remote_temperature_sensor_timeout *** [.pioenvs/dininghp/src/esphome/components/mitsubishi_heatpump/espmhp.cpp.o] Error 1 ========================= [FAILED] Took 10.37 seconds =========================