mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix supported_features in Ecovacs vacuum (#69906)
* Revert _attr_supported_features from Ecovacs * Override supported_features property * Remove space
This commit is contained in:
@@ -111,6 +111,11 @@ class EcovacsVacuum(VacuumEntity):
|
|||||||
"""Return the name of the device."""
|
"""Return the name of the device."""
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def supported_features(self) -> int:
|
||||||
|
"""Flag vacuum cleaner features that are supported."""
|
||||||
|
return self._attr_supported_features
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def status(self):
|
def status(self):
|
||||||
"""Return the status of the vacuum cleaner."""
|
"""Return the status of the vacuum cleaner."""
|
||||||
|
Reference in New Issue
Block a user