fix extra_state_attributes warning
This commit is contained in:
@@ -154,7 +154,7 @@ class LocaltuyaVacuum(LocalTuyaEntity, StateVacuumEntity):
|
|||||||
return self._battery_level
|
return self._battery_level
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_state_attributes(self):
|
def extra_state_attributes(self):
|
||||||
"""Return the specific state attributes of this vacuum cleaner."""
|
"""Return the specific state attributes of this vacuum cleaner."""
|
||||||
return self._attrs
|
return self._attrs
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user