1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-18 03:02:20 +01:00

Fix missing protobuf message dump for batched messages with very verbose logging (#9206)

This commit is contained in:
J. Nick Koston
2025-06-26 03:57:41 +02:00
committed by GitHub
parent 79e3d2b2d7
commit f029f4f20e
5 changed files with 136 additions and 130 deletions

View File

@@ -19,7 +19,7 @@ class APIServerConnectionBase : public ProtoService {
template<typename T> bool send_message(const T &msg) {
#ifdef HAS_PROTO_MESSAGE_DUMP
this->log_send_message_(T::message_name(), msg.dump());
this->log_send_message_(msg.message_name(), msg.dump());
#endif
return this->send_message_(msg, T::MESSAGE_TYPE);
}