mirror of
https://github.com/esphome/esphome.git
synced 2025-09-13 16:52:18 +01:00
Update script/api_protobuf/api_protobuf.py
This commit is contained in:
@@ -1353,8 +1353,6 @@ def main() -> None:
|
|||||||
hpp += " public:\n"
|
hpp += " public:\n"
|
||||||
hpp += "#endif\n\n"
|
hpp += "#endif\n\n"
|
||||||
|
|
||||||
hpp += " public:\n"
|
|
||||||
|
|
||||||
# Add generic send_message method
|
# Add generic send_message method
|
||||||
hpp += " template<typename T>\n"
|
hpp += " template<typename T>\n"
|
||||||
hpp += " bool send_message(const T &msg) {\n"
|
hpp += " bool send_message(const T &msg) {\n"
|
||||||
|
Reference in New Issue
Block a user