pypetkitapi 0.5.1__py3-none-any.whl → 0.5.2__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/const.py +1 -1
- pypetkitapi/litter_container.py +6 -5
- {pypetkitapi-0.5.1.dist-info → pypetkitapi-0.5.2.dist-info}/METADATA +1 -1
- {pypetkitapi-0.5.1.dist-info → pypetkitapi-0.5.2.dist-info}/RECORD +6 -6
- {pypetkitapi-0.5.1.dist-info → pypetkitapi-0.5.2.dist-info}/LICENSE +0 -0
- {pypetkitapi-0.5.1.dist-info → pypetkitapi-0.5.2.dist-info}/WHEEL +0 -0
pypetkitapi/const.py
CHANGED
@@ -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]
|
pypetkitapi/litter_container.py
CHANGED
@@ -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):
|
@@ -1,13 +1,13 @@
|
|
1
1
|
pypetkitapi/__init__.py,sha256=eVpyGMD3tkYtiHUkdKEeNSZhQlZ4woI2Y5oVoV7CwXM,61
|
2
2
|
pypetkitapi/client.py,sha256=wQqX5qH0NMWx0uSLo6fmn4ELhBHcegiEjEwsOrLJaOA,14945
|
3
3
|
pypetkitapi/command.py,sha256=MZbnmWpmekVzlWCg_ubcrFnOoqUCZh1Bamcf_QUos38,10605
|
4
|
-
pypetkitapi/const.py,sha256=
|
4
|
+
pypetkitapi/const.py,sha256=B4uf3RGEkKmpVOo69DRP9g8hF_bodCA7vohnPjnrPFs,3183
|
5
5
|
pypetkitapi/containers.py,sha256=4O79O9HZn4kksQysXGXcqVwvkdxbvhs1pr-0WRNCANc,3425
|
6
6
|
pypetkitapi/exceptions.py,sha256=NWmpsI2ewC4HaIeu_uFwCeuPIHIJxZBzjoCP7aNwvhs,1139
|
7
7
|
pypetkitapi/feeder_container.py,sha256=6a1Y_mTSGuD8qK1YqmiCfxPbZl84bcoIIP_d5g-UctQ,11381
|
8
|
-
pypetkitapi/litter_container.py,sha256=
|
8
|
+
pypetkitapi/litter_container.py,sha256=hB5iiP0boSmooUqwMWA9jW72QYBrTNBhzY2MioxXUAQ,9447
|
9
9
|
pypetkitapi/water_fountain_container.py,sha256=LcCTDjk7eSbnF7e38xev3D5mCv5wwJ6go8WGGBv-CaU,5278
|
10
|
-
pypetkitapi-0.5.
|
11
|
-
pypetkitapi-0.5.
|
12
|
-
pypetkitapi-0.5.
|
13
|
-
pypetkitapi-0.5.
|
10
|
+
pypetkitapi-0.5.2.dist-info/LICENSE,sha256=4FWnKolNLc1e3w6cVlT61YxfPh0DQNeQLN1CepKKSBg,1067
|
11
|
+
pypetkitapi-0.5.2.dist-info/METADATA,sha256=Opxfpy0mvK69SdgkxXsczN8KDQx2NcMYnLSRFT-ctRM,3611
|
12
|
+
pypetkitapi-0.5.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
13
|
+
pypetkitapi-0.5.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|