fix extra_state_attributes warning

This commit is contained in:
rikman122
2021-12-14 13:04:55 +01:00
parent 60761b992a
commit c43240513c

View File

@@ -154,7 +154,7 @@ class LocaltuyaVacuum(LocalTuyaEntity, StateVacuumEntity):
return self._battery_level
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the specific state attributes of this vacuum cleaner."""
return self._attrs