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.
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/PKG-INFO +1 -1
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/__init__.py +1 -1
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/const.py +2 -2
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/media.py +2 -2
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pyproject.toml +2 -2
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/LICENSE +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/README.md +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/bluetooth.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/client.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/command.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/containers.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/exceptions.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/feeder_container.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/litter_container.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/purifier_container.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/py.typed +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/schedule_container.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/utils.py +0 -0
- {pypetkitapi-1.18.0 → pypetkitapi-1.18.1}/pypetkitapi/water_fountain_container.py +0 -0
@@ -126,7 +126,7 @@ class RecordType(StrEnum):
|
|
126
126
|
MOVE = "move"
|
127
127
|
PET = "pet"
|
128
128
|
TOILETING = "toileting"
|
129
|
-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|