Skip to content

Commit 585238e

Browse files
authored
fix: removed enum type check (#37)
1 parent 1044e3a commit 585238e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

roborock/api.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ async def get_dock_summary(self, device_id: str, dock_type: RoborockEnum) -> Rob
245245
"""Gets the status summary from the dock with the methods available for a given dock.
246246
247247
:param dock_type: RoborockDockTypeCode"""
248-
if RoborockDockTypeCode.name != "RoborockDockTypeCode":
249-
raise RoborockException("Invalid enum given for dock type")
250248
try:
251249
commands: list[
252250
Coroutine[

0 commit comments

Comments
 (0)