You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling .pioenvs/cooling/src/esphome/components/truma_inetbox/TrumaiNetBoxAppConfig.o
In file included from src/esphome/components/truma_inetbox/LinBusLog.h:3,
from src/esphome/components/truma_inetbox/LinBusListener.h:3,
from src/esphome/components/truma_inetbox/LinBusListener.cpp:1:
src/esphome/components/truma_inetbox/LinBusListener.cpp: In member function 'void esphome::truma_inetbox::LinBusListener::process_log_queue(TickType_t)':
src/esphome/components/truma_inetbox/LinBusListener.cpp:396:25: error: format '%S' expects argument of type 'wchar_t*', but argument 8 has type 'const char*' [-Werror=format=]
ESP_LOGV(TAG, "PID %02X %s %s %S", current_PID_, format_hex_pretty(log_msg.data, log_msg.len).c_str(),
^~~~~~~~~~~~~~~~~~~~~~~~
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:154:28: note: in expansion of macro 'esph_log_v'
#define ESP_LOGV(tag, ...) esph_log_v(tag, __VA_ARGS__)
^~~~~~~~~~
src/esphome/components/truma_inetbox/LinBusListener.cpp:396:11: note: in expansion of macro 'ESP_LOGV'
ESP_LOGV(TAG, "PID %02X %s %s %S", current_PID_, format_hex_pretty(log_msg.data, log_msg.len).c_str(),
^~~~~~~~
cc1plus: some warnings being treated as errors
*** [.pioenvs/cooling/src/esphome/components/truma_inetbox/LinBusListener.o] Error 1
When removed logger level (so to default DEBUG level) there are only this warnings:
In file included from src/esphome.h:84,
from src/main.cpp:3:
src/esphome/components/truma_inetbox/sensor/TrumaSensor.h:23:20: warning: 'const char* esphome::truma_inetbox::enum_to_c_str(esphome::truma_inetbox::TRUMA_SENSOR_TYPE)' defined but not used [-Wunused-function]
static const char *enum_to_c_str(const TRUMA_SENSOR_TYPE val) {
^~~~~~~~~~~~~
In file included from src/esphome/components/truma_inetbox/select/TrumaHeaterSelect.h:3,
from src/esphome.h:82,
from src/main.cpp:3:
src/esphome/components/truma_inetbox/select/enum.h:33:20: warning: 'const char* esphome::truma_inetbox::enum_to_c_str(esphome::truma_inetbox::TRUMA_SELECT_TYPE)' defined but not used [-Wunused-function]
static const char *enum_to_c_str(const TRUMA_SELECT_TYPE val) {
^~~~~~~~~~~~~
In file included from src/esphome/components/truma_inetbox/number/TrumaAirconManualNumber.h:3,
from src/esphome.h:79,
from src/main.cpp:3:
src/esphome/components/truma_inetbox/number/enum.h:19:20: warning: 'const char* esphome::truma_inetbox::enum_to_c_str(esphome::truma_inetbox::TRUMA_NUMBER_TYPE)' defined but not used [-Wunused-function]
static const char *enum_to_c_str(const TRUMA_NUMBER_TYPE val) {
^~~~~~~~~~~~~
In file included from src/esphome/components/truma_inetbox/binary_sensor/TrumaHeaterBinarySensor.h:5,
from src/esphome.h:73,
from src/main.cpp:3:
src/esphome/components/truma_inetbox/binary_sensor/enum.h:26:20: warning: 'const char* esphome::truma_inetbox::enum_to_c_str(esphome::truma_inetbox::TRUMA_BINARY_SENSOR_TYPE)' defined but not used [-Wunused-function]
static const char *enum_to_c_str(const TRUMA_BINARY_SENSOR_TYPE val) {
^~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Hi, when I compiled it with ESPHome 2024.6.4 for ESP32S3:
Compile failed:
When removed logger level (so to default DEBUG level) there are only this warnings:
The text was updated successfully, but these errors were encountered: