1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 13:22:19 +01:00

cleans to dump

This commit is contained in:
J. Nick Koston
2025-07-22 09:00:53 -10:00
parent 5adc58f826
commit 873aebc572

View File

@@ -838,7 +838,7 @@ class FixedArrayBytesType(TypeInfo):
def dump_content(self) -> str:
o = f'out.append(" {self.name}: ");\n'
o += f"out.append(format_hex_pretty(this->{self.field_name}, this->{self.field_name}_len));\n"
o += 'out.append("\\n");\n'
o += 'out.append("\\n");'
return o
def get_size_calculation(self, name: str, force: bool = False) -> str: