Remove deprecated attributes from ecovacs (#134492)

This commit is contained in:
G Johansson 2025-01-02 22:19:51 +01:00 committed by GitHub
parent 657da47458
commit a7fb20ab58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,11 +163,6 @@ class EcovacsLegacyVacuum(EcovacsLegacyEntity, StateVacuumEntity):
data: dict[str, Any] = {}
data[ATTR_ERROR] = self.error
# these attributes are deprecated and can be removed in 2025.2
for key, val in self.device.components.items():
attr_name = ATTR_COMPONENT_PREFIX + key
data[attr_name] = int(val * 100)
return data
def return_to_base(self, **kwargs: Any) -> None: