1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 21:32:21 +01:00
This commit is contained in:
J. Nick Koston
2025-07-21 13:08:51 -10:00
parent f034069b5e
commit b3abebfb37

View File

@@ -970,11 +970,7 @@ class FixedArrayRepeatedType(TypeInfo):
def get_estimated_size(self) -> int:
# For fixed arrays, estimate underlying type size * array size
underlying_size = (
self._ti.get_estimated_size()
if hasattr(self._ti, "get_estimated_size")
else 8
)
underlying_size = self._ti.get_estimated_size()
return underlying_size * self.array_size