pypetkitapi 1.16.6__tar.gz → 1.16.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pypetkitapi
3
- Version: 1.16.6
3
+ Version: 1.16.7
4
4
  Summary: Python client for PetKit API
5
5
  License: MIT
6
6
  Author: Jezza34000
@@ -51,7 +51,7 @@ from .media import DownloadDecryptMedia, MediaCloud, MediaFile, MediaManager
51
51
  from .purifier_container import Purifier
52
52
  from .water_fountain_container import WaterFountain
53
53
 
54
- __version__ = "1.16.6"
54
+ __version__ = "1.16.7"
55
55
 
56
56
  __all__ = [
57
57
  "CTW3",
@@ -832,7 +832,9 @@ class PrepReq:
832
832
 
833
833
  match error_code:
834
834
  case 5:
835
- raise PetkitSessionExpiredError(f"Session expired: {error_msg}")
835
+ raise PetkitSessionExpiredError(
836
+ f"Session expired: {error_msg}. WARNING : Make sure you're not using your main PetKit app account. Use a separate one for Home Assistant. Refer to the documentation for more details."
837
+ )
836
838
  case 122:
837
839
  raise PetkitAuthenticationError(
838
840
  f"Authentication failed: {error_msg}"
@@ -59,7 +59,7 @@ class Purifier(BaseModel):
59
59
  name: str | None = None
60
60
  refreshing: int | None = None
61
61
  relate_t4: int | None = Field(None, alias="relateT4")
62
- relation: dict[str, str]
62
+ relation: dict[str, str] | list | None = None
63
63
  secret: str | None = None
64
64
  settings: Settings | None = None
65
65
  share_open: int | None = Field(None, alias="shareOpen")
@@ -187,7 +187,7 @@ build-backend = "poetry.core.masonry.api"
187
187
 
188
188
  [tool.poetry]
189
189
  name = "pypetkitapi"
190
- version = "1.16.6"
190
+ version = "1.16.7"
191
191
  description = "Python client for PetKit API"
192
192
  authors = ["Jezza34000 <info@mail.com>"]
193
193
  readme = "README.md"
@@ -209,7 +209,7 @@ ruff = "^0.8.1"
209
209
  types-aiofiles = "^24.1.0.20240626"
210
210
 
211
211
  [tool.bumpver]
212
- current_version = "1.16.6"
212
+ current_version = "1.16.7"
213
213
  version_pattern = "MAJOR.MINOR.PATCH"
214
214
  commit_message = "bump version {old_version} -> {new_version}"
215
215
  tag_message = "{new_version}"
File without changes
File without changes