1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 05:12:21 +01:00

cleans to dump

This commit is contained in:
J. Nick Koston
2025-07-22 08:58:52 -10:00
parent fbd3c051ec
commit 3d35b9679a
2 changed files with 1 additions and 439 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -243,7 +243,7 @@ class TypeInfo(ABC):
@property
def dump_content(self) -> str:
# Default implementation - subclasses can override if they need special handling
return f'dump_field(out, "{self.name}", {self.dump_field_value(f"this->{self.field_name}")});\n'
return f'dump_field(out, "{self.name}", {self.dump_field_value(f"this->{self.field_name}")});'
@abstractmethod
def dump(self, name: str) -> str: