uiprotect 7.3.0__py3-none-any.whl → 7.4.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.
Potentially problematic release.
This version of uiprotect might be problematic. Click here for more details.
- uiprotect/data/bootstrap.py +6 -0
- uiprotect/data/types.py +7 -5
- {uiprotect-7.3.0.dist-info → uiprotect-7.4.1.dist-info}/METADATA +2 -2
- {uiprotect-7.3.0.dist-info → uiprotect-7.4.1.dist-info}/RECORD +7 -7
- {uiprotect-7.3.0.dist-info → uiprotect-7.4.1.dist-info}/WHEEL +1 -1
- {uiprotect-7.3.0.dist-info → uiprotect-7.4.1.dist-info}/LICENSE +0 -0
- {uiprotect-7.3.0.dist-info → uiprotect-7.4.1.dist-info}/entry_points.txt +0 -0
uiprotect/data/bootstrap.py
CHANGED
|
@@ -218,6 +218,12 @@ class Bootstrap(ProtectBaseObject):
|
|
|
218
218
|
for model_type in ModelType.bootstrap_models_types_set:
|
|
219
219
|
key = model_type.devices_key # type: ignore[attr-defined]
|
|
220
220
|
items: dict[str, ProtectModel] = {}
|
|
221
|
+
if key not in data:
|
|
222
|
+
data[key] = {}
|
|
223
|
+
_LOGGER.error(
|
|
224
|
+
f"Missing key in bootstrap: {key}. This may be fixed by updating Protect."
|
|
225
|
+
)
|
|
226
|
+
continue
|
|
221
227
|
for item in data[key]:
|
|
222
228
|
if (
|
|
223
229
|
api is not None
|
uiprotect/data/types.py
CHANGED
|
@@ -534,6 +534,7 @@ class AutoExposureMode(str, ValuesEnumMixin, enum.Enum):
|
|
|
534
534
|
class FocusMode(str, ValuesEnumMixin, enum.Enum):
|
|
535
535
|
MANUAL = "manual"
|
|
536
536
|
AUTO = "auto"
|
|
537
|
+
NONE = "none"
|
|
537
538
|
ZTRIG = "ztrig"
|
|
538
539
|
TOUCH = "touch"
|
|
539
540
|
|
|
@@ -638,6 +639,7 @@ class PermissionNode(str, UnknownValuesEnumMixin, enum.Enum):
|
|
|
638
639
|
|
|
639
640
|
@enum.unique
|
|
640
641
|
class HDRMode(str, UnknownValuesEnumMixin, enum.Enum):
|
|
642
|
+
NONE = "none"
|
|
641
643
|
NORMAL = "normal"
|
|
642
644
|
ALWAYS_ON = "superHdr"
|
|
643
645
|
|
|
@@ -653,21 +655,21 @@ class LensType(str, enum.Enum):
|
|
|
653
655
|
|
|
654
656
|
DoorbellText = Annotated[str, StringConstraints(max_length=30)]
|
|
655
657
|
|
|
656
|
-
ICRCustomValue = Annotated[int, Field(ge=0, le=
|
|
658
|
+
ICRCustomValue = Annotated[int, Field(ge=0, le=11)]
|
|
657
659
|
|
|
658
660
|
ICRLuxValue = Annotated[int, Field(ge=1, le=30)]
|
|
659
661
|
|
|
660
662
|
LEDLevel = Annotated[int, Field(ge=0, le=6)]
|
|
661
663
|
|
|
662
|
-
PercentInt = Annotated[int, Field(ge=0, le=
|
|
664
|
+
PercentInt = Annotated[int, Field(ge=0, le=101)]
|
|
663
665
|
|
|
664
|
-
TwoByteInt = Annotated[int, Field(ge=1, le=
|
|
666
|
+
TwoByteInt = Annotated[int, Field(ge=1, le=256)]
|
|
665
667
|
|
|
666
668
|
PercentFloat = Annotated[float, Field(ge=0, le=100)]
|
|
667
669
|
|
|
668
|
-
WDRLevel = Annotated[int, Field(ge=0, le=
|
|
670
|
+
WDRLevel = Annotated[int, Field(ge=0, le=4)]
|
|
669
671
|
|
|
670
|
-
ICRSensitivity = Annotated[int, Field(ge=0, le=
|
|
672
|
+
ICRSensitivity = Annotated[int, Field(ge=0, le=4)]
|
|
671
673
|
|
|
672
674
|
Percent = Annotated[float, Field(ge=0, le=1)]
|
|
673
675
|
|
|
@@ -17,11 +17,11 @@ uiprotect/cli/sensors.py,sha256=fQtcDJCVxs4VbAqcavgBy2ABiVxAW3GXtna6_XFBp2k,8153
|
|
|
17
17
|
uiprotect/cli/viewers.py,sha256=2cyrp104ffIvgT0wYGIO0G35QMkEbFe7fSVqLwDXQYQ,2171
|
|
18
18
|
uiprotect/data/__init__.py,sha256=audwJBjxRiYdNPeYlP6iofFIOq3gyQzh6VpDsOCM2dQ,2964
|
|
19
19
|
uiprotect/data/base.py,sha256=LRqmK60PKeDFgP2k5qpVj93AxEvdfC6kLk0Cqvt1W5k,35481
|
|
20
|
-
uiprotect/data/bootstrap.py,sha256=
|
|
20
|
+
uiprotect/data/bootstrap.py,sha256=ddNaKrTprN7Zq0ZE3O_F5whepUh6z9GqyrUWxLyZ0HE,23570
|
|
21
21
|
uiprotect/data/convert.py,sha256=xEN878_hm0HZZCVYGwJSxcSp2as9zpkvsemVIibReOA,2628
|
|
22
22
|
uiprotect/data/devices.py,sha256=ls-paEN3RITVASL0Nezfevpt5ROvxnhbBGYg8dPfAyM,114061
|
|
23
23
|
uiprotect/data/nvr.py,sha256=E18DgE0nXl9VZ_ULotTPcXSi3M1u3mWQsuZbY1gIajs,47490
|
|
24
|
-
uiprotect/data/types.py,sha256=
|
|
24
|
+
uiprotect/data/types.py,sha256=XVNVCqyWJGTAo557sWD8yZ-kr_Z_35IpkUr-IuBjpO4,19218
|
|
25
25
|
uiprotect/data/user.py,sha256=Del5LUmt5uCfAQMI9-kl_GaKm085oTLjxmcCrlEKXxc,10526
|
|
26
26
|
uiprotect/data/websocket.py,sha256=m4EV1Qfh08eKOihy70ycViYgEQpeNSGZQJWdtGIYJDA,6791
|
|
27
27
|
uiprotect/exceptions.py,sha256=kgn0cRM6lTtgLza09SDa3ZiX6ue1QqHCOogQ4qu6KTQ,965
|
|
@@ -32,8 +32,8 @@ uiprotect/test_util/__init__.py,sha256=HlQBgIgdtrvT-gQ5OWP92LbgVr_YzsD5NFImLRonU
|
|
|
32
32
|
uiprotect/test_util/anonymize.py,sha256=f-8ijU-_y9r-uAbhIPn0f0I6hzJpAkvJzc8UpWihObI,8478
|
|
33
33
|
uiprotect/utils.py,sha256=q2YYQfxr0b3QEWMSP7SdpcJZbB4huEhpo8PbtnTbEFI,20481
|
|
34
34
|
uiprotect/websocket.py,sha256=tEyenqblNXHcjWYuf4oRP1E7buNwx6zoECMwpBr-jig,8191
|
|
35
|
-
uiprotect-7.
|
|
36
|
-
uiprotect-7.
|
|
37
|
-
uiprotect-7.
|
|
38
|
-
uiprotect-7.
|
|
39
|
-
uiprotect-7.
|
|
35
|
+
uiprotect-7.4.1.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
|
|
36
|
+
uiprotect-7.4.1.dist-info/METADATA,sha256=HTB0gTkxtvP6HlsHhs-fMPjFZNBbD76v95dyRhVjsgk,11142
|
|
37
|
+
uiprotect-7.4.1.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
|
38
|
+
uiprotect-7.4.1.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
|
|
39
|
+
uiprotect-7.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|