mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Use shorthand attributes in litterrobot vacuum (#70842)
This commit is contained in:
parent
492e183b7c
commit
e6b8843423
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user