1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 13:22:19 +01:00
This commit is contained in:
J. Nick Koston
2025-07-20 19:57:32 -10:00
parent 04953db51e
commit ad52d80281
2 changed files with 5 additions and 7 deletions

View File

@@ -625,9 +625,7 @@ class BytesType(TypeInfo):
# Add std::string storage if message needs decoding
if self.needs_decode:
content.append(
f"std::string {self.field_name}{{}}; // Storage for decoded data"
)
content.append(f"std::string {self.field_name}{{}};")
# Add setter method if message needs encoding
if self.needs_encode: