Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some typos #1529

Merged
merged 1 commit into from Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions miio/integrations/vacuum/roborock/vacuumcontainers.py
Expand Up @@ -35,7 +35,7 @@ def pretty_area(x: float) -> float:
17: "Side brushes problem, reboot me",
18: "Suction fan problem",
19: "Unpowered charging station",
21: "Laser disance sensor blocked",
21: "Laser distance sensor blocked",
22: "Clean the dock charging contacts",
23: "Docking station not reachable",
24: "No-go zone or invisible wall detected",
Expand Down Expand Up @@ -233,7 +233,7 @@ def is_water_shortage(self) -> Optional[bool]:
@property
@sensor("Error", icon="mdi:alert")
def got_error(self) -> bool:
"""True if an error has occured."""
"""True if an error has occurred."""
return self.error_code != 0


Expand Down
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/roidmi/roidmivacuum_miot.py
Expand Up @@ -456,7 +456,7 @@ def is_on(self) -> bool:

@property
def got_error(self) -> bool:
"""True if an error has occured."""
"""True if an error has occurred."""
return self.error_code != 0


Expand Down