mirror of
https://github.com/esphome/esphome.git
synced 2025-07-24 20:26:35 +00:00
cleans to dump
This commit is contained in:
parent
fbd3c051ec
commit
3d35b9679a
File diff suppressed because it is too large
Load Diff
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user