pypetkitapi 1.18.0__tar.gz → 1.18.1__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.18.0
3
+ Version: 1.18.1
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.18.0"
54
+ __version__ = "1.18.1"
55
55
 
56
56
  __all__ = [
57
57
  "CTW3",
@@ -126,7 +126,7 @@ class RecordType(StrEnum):
126
126
  MOVE = "move"
127
127
  PET = "pet"
128
128
  TOILETING = "toileting"
129
- WASTE = "waste_check"
129
+ WASTE_CHECK = "waste_check"
130
130
  DISH_BEFORE = "dish_before"
131
131
  DISH_AFTER = "dish_after"
132
132
 
@@ -137,7 +137,7 @@ RecordTypeLST = [
137
137
  RecordType.MOVE,
138
138
  RecordType.PET,
139
139
  RecordType.TOILETING,
140
- RecordType.WASTE,
140
+ RecordType.WASTE_CHECK,
141
141
  RecordType.DISH_BEFORE,
142
142
  RecordType.DISH_AFTER,
143
143
  ]
@@ -467,11 +467,11 @@ class MediaManager:
467
467
  waste_image_data.shit_picture
468
468
  and waste_image_data.shit_aes_key
469
469
  ):
470
- waste_filepath = f"{litter_id}/{date_str}/{RecordType.WASTE.name.lower()}"
470
+ waste_filepath = f"{litter_id}/{date_str}/{RecordType.WASTE_CHECK.name.lower()}"
471
471
  media_files.append(
472
472
  MediaCloud(
473
473
  event_id=record.event_id,
474
- event_type=RecordType.WASTE,
474
+ event_type=RecordType.WASTE_CHECK,
475
475
  device_id=litter_id,
476
476
  user_id=user_id,
477
477
  image=waste_image_data.shit_picture,
@@ -187,7 +187,7 @@ build-backend = "poetry.core.masonry.api"
187
187
 
188
188
  [tool.poetry]
189
189
  name = "pypetkitapi"
190
- version = "1.18.0"
190
+ version = "1.18.1"
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.18.0"
212
+ current_version = "1.18.1"
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