Skip to content

Commit d0cc999

Browse files
authored
Deprecate Roborock battery feature (#150126)
1 parent 76ca9ce commit d0cc999

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

homeassistant/components/roborock/vacuum.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ class RoborockVacuum(RoborockCoordinatedEntityV1, StateVacuumEntity):
109109
| VacuumEntityFeature.STOP
110110
| VacuumEntityFeature.RETURN_HOME
111111
| VacuumEntityFeature.FAN_SPEED
112-
| VacuumEntityFeature.BATTERY
113112
| VacuumEntityFeature.SEND_COMMAND
114113
| VacuumEntityFeature.LOCATE
115114
| VacuumEntityFeature.CLEAN_SPOT
@@ -142,11 +141,6 @@ def activity(self) -> VacuumActivity | None:
142141
assert self._device_status.state is not None
143142
return STATE_CODE_TO_STATE.get(self._device_status.state)
144143

145-
@property
146-
def battery_level(self) -> int | None:
147-
"""Return the battery level of the vacuum cleaner."""
148-
return self._device_status.battery
149-
150144
@property
151145
def fan_speed(self) -> str | None:
152146
"""Return the fan speed of the vacuum cleaner."""

0 commit comments

Comments
 (0)