Use shorthand attributes in litterrobot vacuum (#70842)

This commit is contained in:
epenet 2022-04-27 09:53:25 +02:00 committed by GitHub
parent 492e183b7c
commit e6b8843423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,11 +82,6 @@ class LitterRobotCleaner(LitterRobotControlEntity, StateVacuumEntity):
| VacuumEntityFeature.TURN_ON
)
@property
def supported_features(self) -> int:
"""Flag cleaner robot features that are supported."""
return self._attr_supported_features
@property
def state(self) -> str:
"""Return the state of the cleaner."""