mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Remove deprecated attributes from ecovacs (#134492)
This commit is contained in:
parent
657da47458
commit
a7fb20ab58
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user