1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-14 17:22:20 +01:00

Merge branch 'reduce_duplicate_gen_code_api' into integration

This commit is contained in:
J. Nick Koston
2025-06-17 10:40:23 +02:00
2 changed files with 0 additions and 3 deletions

View File

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

View File

@@ -1352,8 +1352,6 @@ def main() -> None:
hpp += " public:\n"
hpp += "#endif\n\n"
hpp += " public:\n"
# Add generic send_message method
hpp += " template<typename T>\n"
hpp += " bool send_message(const T &msg) {\n"