-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
187d933
commit c9dfa91
Showing
5 changed files
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
"""Module to get maps from tuya vacuums.""" | ||
|
||
from .map import Map | ||
from .vacuum import Vacuum | ||
|
||
__all__ = ["Map", "Vacuum"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""Package level errors""" | ||
|
||
|
||
class InvalidClientIDError(Exception): | ||
"""Invalid Client ID Error.""" | ||
|
||
|
||
class InvalidClientSecretError(Exception): | ||
"""Invalid Client Secret Error.""" | ||
|
||
|
||
class InvalidDeviceIDError(Exception): | ||
"""Invalid Device ID Error.""" | ||
|
||
|
||
class CrossRegionAccessError(Exception): | ||
"""Cross Region Access Error.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"""Map related classes.""" | ||
|
||
from .layout import Layout | ||
from .map import Map | ||
from .path import Path | ||
from .room import Room | ||
|
||
__all__ = ["Layout", "Path", "Room", "Map"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters