Fix supported_features in Ecovacs vacuum (#69906)

* Revert _attr_supported_features from Ecovacs

* Override supported_features property

* Remove space
This commit is contained in:
epenet 2022-04-15 22:19:30 +02:00 committed by GitHub
parent e00a010560
commit ddb6e37a5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,11 @@ class EcovacsVacuum(VacuumEntity):
"""Return the name of the device."""
return self._name
@property
def supported_features(self) -> int:
"""Flag vacuum cleaner features that are supported."""
return self._attr_supported_features
@property
def status(self):
"""Return the status of the vacuum cleaner."""