Skip to content

Commit 7489a98

Browse files
committed
removed defaults
1 parent 81bf2e2 commit 7489a98

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

roborock/containers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def msg_seq(self) -> int:
634634

635635
@property
636636
def status(self) -> str:
637-
return STATE_CODE_TO_STATUS.get(self.state, f"Unknown Status {self.state}")
637+
return STATE_CODE_TO_STATUS.get(self.state)
638638

639639
@property
640640
def state(self) -> int:
@@ -658,7 +658,7 @@ def error_code(self) -> int:
658658

659659
@property
660660
def error(self) -> str:
661-
return ERROR_CODE_TO_TEXT.get(self.error_code, f"Unknown Error {self.error_code}")
661+
return ERROR_CODE_TO_TEXT.get(self.error_code)
662662

663663
@property
664664
def map_present(self) -> int:
@@ -702,7 +702,7 @@ def fan_power_code(self) -> int:
702702

703703
@property
704704
def fan_power(self) -> str:
705-
return FAN_SPEED_CODES.get(self.fan_power_code, f"Unknown power {self.fan_power_code}")
705+
return FAN_SPEED_CODES.get(self.fan_power_code)
706706

707707
@property
708708
def dnd_enabled(self) -> int:
@@ -726,7 +726,7 @@ def water_box_mode(self) -> int:
726726

727727
@property
728728
def mop_intensity(self) -> str:
729-
return MOP_INTENSITY_CODES.get(self.water_box_mode, f"Unknown intensity {self.water_box_mode}")
729+
return MOP_INTENSITY_CODES.get(self.water_box_mode)
730730

731731
@property
732732
def water_box_carriage_status(self) -> int:
@@ -782,7 +782,7 @@ def mop_mode_code(self) -> int:
782782

783783
@property
784784
def mop_mode(self) -> str:
785-
return MOP_MODE_CODES.get(self.mop_mode_code, f"Unknown mop mode {self.mop_mode_code}")
785+
return MOP_MODE_CODES.get(self.mop_mode_code)
786786

787787
@property
788788
def debug_mode(self) -> int:

0 commit comments

Comments
 (0)