pypetkitapi 1.18.0__py3-none-any.whl → 1.18.1__py3-none-any.whl
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/__init__.py +1 -1
- pypetkitapi/const.py +2 -2
- pypetkitapi/media.py +2 -2
- {pypetkitapi-1.18.0.dist-info → pypetkitapi-1.18.1.dist-info}/METADATA +1 -1
- {pypetkitapi-1.18.0.dist-info → pypetkitapi-1.18.1.dist-info}/RECORD +7 -7
- {pypetkitapi-1.18.0.dist-info → pypetkitapi-1.18.1.dist-info}/LICENSE +0 -0
- {pypetkitapi-1.18.0.dist-info → pypetkitapi-1.18.1.dist-info}/WHEEL +0 -0
pypetkitapi/__init__.py
CHANGED
pypetkitapi/const.py
CHANGED
@@ -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
|
]
|
pypetkitapi/media.py
CHANGED
@@ -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,
|
@@ -1,19 +1,19 @@
|
|
1
|
-
pypetkitapi/__init__.py,sha256
|
1
|
+
pypetkitapi/__init__.py,sha256=cj8JaAuO1F1wiAkP3f6yGdTWdzu5QajYws6Kv3Q6l2k,2107
|
2
2
|
pypetkitapi/bluetooth.py,sha256=VNoJ3E9WXzEfqRoWwKiemITKIt9aa9ICRzDvFuJ3PP0,9915
|
3
3
|
pypetkitapi/client.py,sha256=D49j-5oks0iJDgQbHKDyapZjhtfCNE7rrowl3yL_YSk,31299
|
4
4
|
pypetkitapi/command.py,sha256=zw4h1SCInG2T0-wAA_al59_FTL36TUZldtJkYKw6ATI,7655
|
5
|
-
pypetkitapi/const.py,sha256=
|
5
|
+
pypetkitapi/const.py,sha256=EQaU3KCbu2wY4doilspdffNZApgdB-ZQ__w33NvgxzQ,5009
|
6
6
|
pypetkitapi/containers.py,sha256=MWfSHLU-ZEIf220nv3-96U41PhCl9Gh6ETBV_SYBvV4,6648
|
7
7
|
pypetkitapi/exceptions.py,sha256=4BXUyYXLfZjNxdnOGJPjyE9ASIl7JmQphjws87jvHtE,1631
|
8
8
|
pypetkitapi/feeder_container.py,sha256=PhidWd5WpsZqtdKZy60PzE67YXgQfApjm8CqvMCHK3U,14743
|
9
9
|
pypetkitapi/litter_container.py,sha256=17Qf23MgdSTgTVjLGAjpiMyClngBemyaHGQN4tDOiJE,20919
|
10
|
-
pypetkitapi/media.py,sha256=
|
10
|
+
pypetkitapi/media.py,sha256=G2Krx5Ad7-bJJDzjRpurdI7_w1OVxQzl3YC-04_-atE,30424
|
11
11
|
pypetkitapi/purifier_container.py,sha256=NlDZ2eAuD3xnqLGfFzaXErQXBPHjSbUI9tXln5K9mG4,3200
|
12
12
|
pypetkitapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
pypetkitapi/schedule_container.py,sha256=ycIHeQHkVILDp7ZBjaVdGI_9rhHrgqeKBfvQAX3JMGE,2071
|
14
14
|
pypetkitapi/utils.py,sha256=z7325kcJQUburnF28HSXrJMvY_gY9007K73Zwxp-4DQ,743
|
15
15
|
pypetkitapi/water_fountain_container.py,sha256=5J0b-fDZYcFLNX2El7fifv8H6JMhBCt-ttxSow1ozRQ,6787
|
16
|
-
pypetkitapi-1.18.
|
17
|
-
pypetkitapi-1.18.
|
18
|
-
pypetkitapi-1.18.
|
19
|
-
pypetkitapi-1.18.
|
16
|
+
pypetkitapi-1.18.1.dist-info/LICENSE,sha256=u5jNkZEn6YMrtN4Kr5rU3TcBJ5-eAt0qMx4JDsbsnzM,1074
|
17
|
+
pypetkitapi-1.18.1.dist-info/METADATA,sha256=VD0Z2ZZrs2wqrM32GnvA8BdpaG_YtwFWqzH1AtHItac,12977
|
18
|
+
pypetkitapi-1.18.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
19
|
+
pypetkitapi-1.18.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|