[multiple] Fix -Wformat and -Wextra warnings across 33 component files (#15321)

This commit is contained in:
Jonathan Swoboda
2026-03-30 18:56:05 -04:00
committed by GitHub
parent 58df755d8b
commit 53b2a03c80
33 changed files with 145 additions and 88 deletions
@@ -3,6 +3,8 @@
#ifdef USE_API
#include "esphome/components/api/api_server.h"
#include <cinttypes>
#include "esphome/core/application.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
@@ -160,7 +162,7 @@ void ZWaveProxy::zwave_proxy_request(api::APIConnection *api_connection, api::en
break;
default:
ESP_LOGW(TAG, "Unknown request type: %d", type);
ESP_LOGW(TAG, "Unknown request type: %" PRIu32, static_cast<uint32_t>(type));
break;
}
}