pypetkitapi 0.5.1__tar.gz → 0.5.2__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-0.5.1 → pypetkitapi-0.5.2}/PKG-INFO +1 -1
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/const.py +1 -1
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/litter_container.py +6 -5
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pyproject.toml +2 -2
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/LICENSE +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/README.md +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/__init__.py +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/client.py +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/command.py +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/containers.py +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/exceptions.py +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/feeder_container.py +0 -0
- {pypetkitapi-0.5.1 → pypetkitapi-0.5.2}/pypetkitapi/water_fountain_container.py +0 -0
@@ -25,7 +25,7 @@ W5 = "w5"
|
|
25
25
|
CTW3 = "ctw3"
|
26
26
|
K2 = "k2"
|
27
27
|
|
28
|
-
DEVICES_LITTER_BOX = [T4, T5, T6]
|
28
|
+
DEVICES_LITTER_BOX = [T3, T4, T5, T6]
|
29
29
|
DEVICES_FEEDER = [FEEDER, FEEDER_MINI, D4, D4S, D4H, D4SH]
|
30
30
|
DEVICES_WATER_FOUNTAIN = [W5, CTW3]
|
31
31
|
ALL_DEVICES = [*DEVICES_LITTER_BOX, *DEVICES_FEEDER, *DEVICES_WATER_FOUNTAIN]
|
@@ -133,11 +133,12 @@ class StateLitter(BaseModel):
|
|
133
133
|
class WorkState(BaseModel):
|
134
134
|
"""Dataclass for work state data."""
|
135
135
|
|
136
|
-
safe_warn: int = Field(alias="safeWarn")
|
137
|
-
stop_time: int = Field(alias="stopTime")
|
138
|
-
work_mode: int = Field(alias="workMode")
|
139
|
-
work_process: int = Field(alias="workProcess")
|
140
|
-
work_reason: int = Field(alias="workReason")
|
136
|
+
safe_warn: int | None = Field(None, alias="safeWarn")
|
137
|
+
stop_time: int | None = Field(None, alias="stopTime")
|
138
|
+
work_mode: int | None = Field(None, alias="workMode")
|
139
|
+
work_process: int | None = Field(None, alias="workProcess")
|
140
|
+
work_reason: int | None = Field(None, alias="workReason")
|
141
|
+
pet_in_time: int | None = Field(None, alias="petInTime")
|
141
142
|
|
142
143
|
|
143
144
|
class Litter(BaseModel):
|
@@ -187,7 +187,7 @@ build-backend = "poetry.core.masonry.api"
|
|
187
187
|
|
188
188
|
[tool.poetry]
|
189
189
|
name = "pypetkitapi"
|
190
|
-
version = "0.5.
|
190
|
+
version = "0.5.2"
|
191
191
|
description = "Python client for PetKit API"
|
192
192
|
authors = ["Jezza34000 <info@mail.com>"]
|
193
193
|
readme = "README.md"
|
@@ -204,7 +204,7 @@ black = "^24.10.0"
|
|
204
204
|
ruff = "^0.8.1"
|
205
205
|
|
206
206
|
[tool.bumpver]
|
207
|
-
current_version = "0.5.
|
207
|
+
current_version = "0.5.2"
|
208
208
|
version_pattern = "MAJOR.MINOR.PATCH"
|
209
209
|
commit_message = "bump version {old_version} -> {new_version}"
|
210
210
|
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
|