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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user