Bump uiprotect to 20.2.1 (#184208)

This commit is contained in:
Raphael Hehl
2026-10-04 15:05:40 +02:00
committed by GitHub
parent 96f3944d29
commit 8ea1897eca
3 changed files with 2 additions and 240 deletions
@@ -9,5 +9,5 @@
"iot_class": "local_push",
"loggers": ["uiprotect"],
"quality_scale": "platinum",
"requirements": ["uiprotect==17.7.0"]
"requirements": ["uiprotect==20.2.1"]
}
+1 -1
View File
@@ -3330,7 +3330,7 @@ uasiren==0.0.1
uhooapi==1.2.8
# homeassistant.components.unifiprotect
uiprotect==17.7.0
uiprotect==20.2.1
# homeassistant.components.landisgyr_heat_meter
ultraheat-api==0.6.1
@@ -2,36 +2,23 @@
# name: test_diagnostics
dict({
'bootstrap': dict({
'accessKey': '**REDACTED**',
'authUserId': '**REDACTED_ID**',
'bridges': list([
dict({
'anonymousDeviceId': None,
'bridge': None,
'canAdopt': False,
'connectedSince': 1642374159304,
'connectionHost': '**REDACTED_IP**',
'firmwareBuild': None,
'firmwareVersion': '0.3.1',
'fwUpdateState': None,
'guid': None,
'hardwareRevision': '19',
'host': '**REDACTED_IP**',
'id': '**REDACTED_ID**',
'isAdopted': True,
'isAdoptedByOther': False,
'isAdopting': False,
'isAttemptingToConnect': False,
'isConnected': True,
'isDownloadingFW': None,
'isProvisioned': False,
'isRebooting': False,
'isRestoring': None,
'isSshEnabled': False,
'isUpdating': False,
'lastDisconnect': None,
'lastSeen': 1643055759891,
'latestFirmwareVersion': None,
'mac': '**REDACTED_MAC**',
'marketName': None,
'modelKey': 'bridge',
@@ -47,32 +34,20 @@
}),
}),
dict({
'anonymousDeviceId': None,
'bridge': None,
'canAdopt': False,
'connectedSince': 1643052754695,
'connectionHost': '**REDACTED_IP**',
'firmwareBuild': None,
'firmwareVersion': '0.3.1',
'fwUpdateState': None,
'guid': None,
'hardwareRevision': '19',
'host': '**REDACTED_IP**',
'id': '**REDACTED_ID**',
'isAdopted': True,
'isAdoptedByOther': False,
'isAdopting': False,
'isAttemptingToConnect': False,
'isConnected': True,
'isDownloadingFW': None,
'isProvisioned': False,
'isRebooting': False,
'isRestoring': None,
'isSshEnabled': False,
'isUpdating': False,
'lastDisconnect': None,
'lastSeen': 1643052750862,
'latestFirmwareVersion': None,
'mac': '**REDACTED_MAC**',
'marketName': None,
'modelKey': 'bridge',
@@ -145,43 +120,28 @@
'lastUpdateId': '**REDACTED_UUID**',
'lights': list([
dict({
'anonymousDeviceId': None,
'bridge': None,
'camera': None,
'canAdopt': False,
'connectedSince': 1640020579711,
'connectionHost': '**REDACTED_IP**',
'firmwareBuild': 'g990c553.211105.251',
'firmwareVersion': '1.9.3',
'fwUpdateState': None,
'guid': None,
'hardwareRevision': None,
'host': '**REDACTED_IP**',
'id': '**REDACTED_ID**',
'isAdopted': True,
'isAdoptedByOther': False,
'isAdopting': False,
'isAttemptingToConnect': False,
'isCameraPaired': True,
'isConnected': True,
'isDark': False,
'isDownloadingFW': None,
'isLightOn': False,
'isLocating': False,
'isPirMotionDetected': False,
'isProvisioned': False,
'isRebooting': False,
'isRestoring': None,
'isSshEnabled': False,
'isUpdating': False,
'lastDisconnect': None,
'lastMotion': 1640022006069,
'lastSeen': 1640023881022,
'latestFirmwareVersion': '1.9.3',
'lightDeviceSettings': dict({
'isIndicatorEnabled': False,
'ledLevel': 6,
'luxSensitivity': 'medium',
'pirDuration': 45000,
'pirSensitivity': 45,
}),
@@ -189,9 +149,6 @@
'enableAt': 'fulltime',
'mode': 'motion',
}),
'lightOnSettings': dict({
'isLedForceOn': False,
}),
'mac': '**REDACTED_MAC**',
'marketName': 'UP FloodLight',
'modelKey': 'light',
@@ -210,13 +167,6 @@
]),
'nvr': dict({
'analyticsData': 'anonymous',
'anonymousDeviceId': '**REDACTED_UUID**',
'cameraUtilization': 30,
'canAutoUpdate': True,
'corruptionState': None,
'countryCode': None,
'disableAudio': False,
'disableAutoLink': False,
'doorbellSettings': dict({
'allMessages': list([
dict({
@@ -236,116 +186,36 @@
'Come In!',
'Use Other Door',
]),
'defaultMessageResetTimeoutMs': 60000,
'defaultMessageText': 'Welcome',
}),
'enableAutomaticBackups': True,
'enableBridgeAutoAdoption': True,
'enableCrashReporting': True,
'enableStatsReporting': False,
'featureFlags': dict({
'beta': False,
'detectionLabels': None,
'dev': False,
'hasTwoWayAudioMediaStreams': None,
'homekitPaired': None,
'notificationsV2': True,
'ulpRoleManagement': None,
}),
'firmwareVersion': '2.3.10',
'globalCameraSettings': None,
'hardDriveState': None,
'hardwareId': '**REDACTED_UUID**',
'hardwarePlatform': 'al324',
'hardwareRevision': '113-03137-22',
'hasGateway': None,
'host': '**REDACTED_IP**',
'hostShortname': 'UNVRPRO',
'hostType': 59936,
'hosts': list([
'**REDACTED_IP**',
]),
'id': '**REDACTED_ID**',
'isAway': True,
'isDbAvailable': None,
'isHardware': True,
'isInsightsEnabled': True,
'isNetworkInstalled': None,
'isPrimary': None,
'isProtectUpdatable': None,
'isRecordingDisabled': False,
'isRecordingMotionOnly': False,
'isRecycling': False,
'isSetup': True,
'isSshEnabled': False,
'isStacked': None,
'isStation': False,
'isStatsGatheringEnabled': True,
'isUCoreSetup': None,
'isUCoreStacked': None,
'isUcoreUpdatable': None,
'isUpdating': False,
'isVaultRegistered': None,
'isWirelessUplinkEnabled': False,
'lastDeviceFWUpdatesCheckedAt': None,
'lastDriveSlowEvent': None,
'lastSeen': 1641269019283,
'lastUpdateAt': None,
'locationSettings': dict({
'isAway': True,
'isGeofencingEnabled': False,
'latitude': 41.4519,
'longitude': -81.921,
'radius': 200,
}),
'mac': '**REDACTED_MAC**',
'marketName': None,
'maxCameraCapacity': dict({
'2K': 30,
'4K': 20,
'HD': 60,
}),
'modelKey': 'nvr',
'name': '**REDACTED_NAME**',
'network': 'Ethernet',
'ports': dict({
'aiFeatureConsole': None,
'cameraEvents': 7551,
'cameraHttps': 7444,
'devicesWss': 7442,
'discoveryClient': 0,
'emsCLI': 7440,
'emsJsonCLI': None,
'emsLiveFLV': 7550,
'http': 7080,
'https': 7443,
'liveWs': 7445,
'liveWss': 7446,
'piongw': None,
'playback': 7450,
'rtmp': 1935,
'rtsp': 7447,
'rtsps': 7441,
'stacking': None,
'tcpBridge': 7888,
'tcpStreams': 7448,
'ucore': 11081,
'ump': 7449,
}),
'publicIp': None,
'recordingRetentionDurationMs': None,
'releaseChannel': 'release',
'skipFirmwareUpdate': False,
'smartDetection': None,
'ssoChannel': None,
'storageStats': dict({
'capacity': 5706909122,
'recordingSpace': dict({
'available': 23327455092736,
'total': 31787269955584,
'used': 8459814862848,
}),
'remainingCapacity': 4188081155,
'storageDistribution': dict({
'recordingTypeDistributions': list([
dict({
@@ -384,7 +254,6 @@
}),
'utilization': 26.61384533704469,
}),
'streamSharingAvailable': None,
'systemInfo': dict({
'cpu': dict({
'averageLoad': 5,
@@ -415,17 +284,10 @@
'size': 16000900661248,
}),
]),
'isRecycling': False,
'size': 31855989432320,
'type': 'raid',
'used': 8459815895040,
}),
'tmpfs': dict({
'available': 934204,
'path': '/var/opt/unifi-protect/tmp',
'total': 1048576,
'used': 114372,
}),
'ustorage': dict({
'disks': list([
dict({
@@ -566,62 +428,14 @@
'type': 'HDD',
}),
]),
'space': list([
dict({
'action': 'expanding',
'device': 'md3',
'estimate': 234395.733,
'health': None,
'progress': 21.390607518939174,
'space_type': None,
'total_bytes': 63713403555840,
'used_bytes': 57006577086464,
}),
dict({
'action': 'syncing',
'device': 'md0',
'estimate': None,
'health': None,
'progress': 0,
'space_type': None,
'total_bytes': 0,
'used_bytes': 0,
}),
]),
}),
}),
'temperatureUnit': 'C',
'timeFormat': '24h',
'timezone': 'America/New_York',
'type': 'UNVR-PRO',
'ucoreVersion': '2.3.26',
'uiVersion': None,
'ulpVersion': None,
'upSince': 1640077503063,
'uptime': 1191516000,
'vaultCameras': list([
]),
'version': '7.2.105',
'wanIp': None,
}),
'ringtones': list([
dict({
'id': '**REDACTED_ID**',
'isDefault': True,
'modelKey': 'ringtone',
'name': '**REDACTED_NAME**',
'nvrMac': '**REDACTED_MAC**',
'size': 208,
}),
dict({
'id': '**REDACTED_ID**',
'isDefault': False,
'modelKey': 'ringtone',
'name': '**REDACTED_NAME**',
'nvrMac': '**REDACTED_MAC**',
'size': 180,
}),
]),
'sensors': list([
]),
'ulpUsers': dict({
@@ -659,26 +473,19 @@
'user': '**REDACTED_ID**',
}),
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
]),
'hasAcceptedInvite': True,
'id': '**REDACTED_ID**',
'isOwner': True,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'modelKey': 'user',
'name': '**REDACTED_NAME**',
'permissions': list([
]),
'scopes': None,
}),
dict({
'allPermissions': list([
@@ -712,27 +519,20 @@
]),
'cloudAccount': None,
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
'**REDACTED_ID**',
]),
'hasAcceptedInvite': False,
'id': '**REDACTED_ID**',
'isOwner': False,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'modelKey': 'user',
'name': '**REDACTED_NAME**',
'permissions': list([
]),
'scopes': None,
}),
dict({
'allPermissions': list([
@@ -759,25 +559,16 @@
]),
'cloudAccount': None,
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
]),
'hasAcceptedInvite': False,
'id': '**REDACTED_ID**',
'isOwner': False,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'location': dict({
'isAway': True,
'latitude': None,
'longitude': None,
}),
'modelKey': 'user',
'name': '**REDACTED_NAME**',
@@ -787,7 +578,6 @@
'liveview:*:**REDACTED_ID**',
'liveview:*:**REDACTED_ID**',
]),
'scopes': None,
}),
dict({
'allPermissions': list([
@@ -805,26 +595,19 @@
]),
'cloudAccount': None,
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
]),
'hasAcceptedInvite': False,
'id': '**REDACTED_ID**',
'isOwner': False,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'modelKey': 'user',
'name': '**REDACTED_NAME**',
'permissions': list([
]),
'scopes': None,
}),
dict({
'allPermissions': list([
@@ -858,27 +641,20 @@
]),
'cloudAccount': None,
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
'**REDACTED_ID**',
]),
'hasAcceptedInvite': False,
'id': '**REDACTED_ID**',
'isOwner': False,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'modelKey': 'user',
'name': '**REDACTED_NAME**',
'permissions': list([
]),
'scopes': None,
}),
dict({
'allPermissions': list([
@@ -912,27 +688,20 @@
]),
'cloudAccount': None,
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
'**REDACTED_ID**',
]),
'hasAcceptedInvite': False,
'id': '**REDACTED_ID**',
'isOwner': False,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'modelKey': 'user',
'name': '**REDACTED_NAME**',
'permissions': list([
]),
'scopes': None,
}),
dict({
'allPermissions': list([
@@ -950,26 +719,19 @@
]),
'cloudAccount': None,
'email': '**REDACTED**@example.com',
'enableNotifications': False,
'featureFlags': dict({
'notificationsV2': True,
}),
'firstName': '**REDACTED_NAME**',
'groups': list([
'**REDACTED_ID**',
]),
'hasAcceptedInvite': False,
'id': '**REDACTED_ID**',
'isOwner': False,
'lastLoginIp': None,
'lastLoginTime': None,
'lastName': '**REDACTED_NAME**',
'localUsername': '**REDACTED_NAME**',
'modelKey': 'user',
'name': '**REDACTED_NAME**',
'permissions': list([
]),
'scopes': None,
}),
]),
'viewers': list([