uiprotect 7.4.0__tar.gz → 7.4.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.
- {uiprotect-7.4.0 → uiprotect-7.4.1}/PKG-INFO +2 -2
- {uiprotect-7.4.0 → uiprotect-7.4.1}/pyproject.toml +1 -1
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/bootstrap.py +6 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/LICENSE +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/README.md +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/__init__.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/__main__.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/_compat.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/api.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/__init__.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/aiports.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/backup.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/base.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/cameras.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/chimes.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/doorlocks.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/events.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/lights.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/liveviews.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/nvr.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/sensors.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/cli/viewers.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/__init__.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/base.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/convert.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/devices.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/nvr.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/types.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/user.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/data/websocket.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/exceptions.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/py.typed +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/release_cache.json +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/stream.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/test_util/__init__.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/test_util/anonymize.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/utils.py +0 -0
- {uiprotect-7.4.0 → uiprotect-7.4.1}/src/uiprotect/websocket.py +0 -0
|
@@ -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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|