Just to let you know that this component does not compile with the ESP-IDF framework on ESP32.
Here are all errors in logs:
Compiling .pioenvs/bureau-hvac/src/esphome/components/samsung_ac/non_nasa.o
In file included from src/esphome/components/samsung_ac/nasa.cpp:3:
src/esphome/components/samsung_ac/nasa.cpp: In function 'void esphome::samsung_ac::process_nasa_message(std::vector<unsigned char>, esphome::samsung_ac::MessageTarget*)':
src/esphome/components/samsung_ac/nasa.cpp:499:35: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_state_humidity_percent %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:499:21: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_state_humidity_percent %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:511:35: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_operation_mode %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:511:21: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_operation_mode %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:517:35: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_fan_mode_real %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:517:21: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_fan_mode_real %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:531:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_VENT_POWER %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:531:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_VENT_POWER %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:536:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_VENT_MODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:536:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_VENT_MODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:541:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_LOUVER_HL_SWING %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:541:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_LOUVER_HL_SWING %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:546:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_louver_hl_part_swing %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:546:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_louver_hl_part_swing %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:551:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_ALTERNATIVE_MODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:551:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_ALTERNATIVE_MODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:556:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_QUIET_MODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:556:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_QUIET_MODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:561:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_POWER_ZONE1 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:561:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_POWER_ZONE1 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:566:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_POWER_ZONE2 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:566:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_OPERATION_POWER_ZONE2 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:577:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_operation_mode_real %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:577:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_operation_mode_real %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:583:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_fan_vent_mode %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:583:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_in_fan_vent_mode %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:599:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_LOUVER_HL_SWING %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:599:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_LOUVER_HL_SWING %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:607:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_LOUVER_HL_SWING %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:607:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_IN_LOUVER_HL_SWING %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:635:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_out_operation_odu_mode %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:635:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_out_operation_odu_mode %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:643:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_out_operation_heatcool %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:643:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_out_operation_heatcool %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:649:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s ENUM_out_load_4way %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:649:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s ENUM_out_load_4way %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:655:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s VAR_out_error_code %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:655:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s VAR_out_error_code %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:717:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s VAR_out_control_order_cfreq_comp2 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:717:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s VAR_out_control_order_cfreq_comp2 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:722:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s VAR_out_control_target_cfreq_comp2 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:722:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s VAR_out_control_target_cfreq_comp2 %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:728:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s VAR_OUT_PROJECT_CODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:728:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s VAR_OUT_PROJECT_CODE %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:734:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s VAR_OUT_PRODUCT_OPTION_CAPA %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:734:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s VAR_OUT_PRODUCT_OPTION_CAPA %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:747:39: error: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Werror=format=]
ESP_LOGW(TAG, "s:%s d:%s VAR_OUT_PHASE_CURRENT %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
#define ESPHOME_LOG_FORMAT(format) format
^~~~~~
src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w'
#define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/samsung_ac/nasa.cpp:747:25: note: in expansion of macro 'ESP_LOGW'
ESP_LOGW(TAG, "s:%s d:%s VAR_OUT_PHASE_CURRENT %d", packet_.sa.to_string().c_str(), packet_.da.to_string().c_str(), message.value);
^~~~~~~~
Compiling .pioenvs/bureau-hvac/src/esphome/components/samsung_ac/protocol.o
cc1plus: some warnings being treated as errors
*** [.pioenvs/bureau-hvac/src/esphome/components/samsung_ac/nasa.o] Error 1
========================= [FAILED] Took 37.82 seconds =========================