# serializer version: 1
# name: test_diagnostics_collection
  dict({
    'devices': list([
      dict({
        'device': dict({
          'activeTime': 1672364449,
          'deviceStatus': dict({
            '120': 0,
            '121': 8,
            '122': 100,
            '123': 102,
            '124': 203,
            '125': 94,
            '126': 90,
            '127': 87,
            '128': 0,
            '133': 1,
          }),
          'duid': '******bc123',
          'extra': '{"RRPhotoPrivacyVersion": "1"}',
          'featureSet': '2234201184108543',
          'fv': '02.56.02',
          'iconUrl': 'no_url',
          'localKey': '**REDACTED**',
          'name': '**REDACTED**',
          'newFeatureSet': '0000000000002041',
          'online': True,
          'productId': '**REDACTED**',
          'pv': '1.0',
          'roomId': 2362003,
          'share': False,
          'silentOtaSwitch': True,
          'sn': '**REDACTED**',
          'timeZoneId': 'America/Los_Angeles',
          'tuyaMigrated': False,
        }),
        'product': dict({
          'capability': 0,
          'category': 'robot.vacuum.cleaner',
          'code': 'a27',
          'id': 'product-id-s7-maxv',
          'model': 'roborock.vacuum.a27',
          'name': '**REDACTED**',
          'schema': list([
            dict({
              'code': 'rpc_request_code',
              'id': '101',
              'mode': 'rw',
              'name': 'rpc_request',
              'type': 'RAW',
            }),
            dict({
              'code': 'rpc_response',
              'id': '102',
              'mode': 'rw',
              'name': 'rpc_response',
              'type': 'RAW',
            }),
            dict({
              'code': 'error_code',
              'id': '120',
              'mode': 'ro',
              'name': '错误代码',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'state',
              'id': '121',
              'mode': 'ro',
              'name': '设备状态',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'battery',
              'id': '122',
              'mode': 'ro',
              'name': '设备电量',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'fan_power',
              'id': '123',
              'mode': 'rw',
              'name': '清扫模式',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'water_box_mode',
              'id': '124',
              'mode': 'rw',
              'name': '拖地模式',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'main_brush_life',
              'id': '125',
              'mode': 'rw',
              'name': '主刷寿命',
              'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
              'type': 'VALUE',
            }),
            dict({
              'code': 'side_brush_life',
              'id': '126',
              'mode': 'rw',
              'name': '边刷寿命',
              'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
              'type': 'VALUE',
            }),
            dict({
              'code': 'filter_life',
              'id': '127',
              'mode': 'rw',
              'name': '滤网寿命',
              'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
              'type': 'VALUE',
            }),
            dict({
              'code': 'additional_props',
              'id': '128',
              'mode': 'ro',
              'name': '额外状态',
              'type': 'RAW',
            }),
            dict({
              'code': 'task_complete',
              'id': '130',
              'mode': 'ro',
              'name': '完成事件',
              'type': 'RAW',
            }),
            dict({
              'code': 'task_cancel_low_power',
              'id': '131',
              'mode': 'ro',
              'name': '电量不足任务取消',
              'type': 'RAW',
            }),
            dict({
              'code': 'task_cancel_in_motion',
              'id': '132',
              'mode': 'ro',
              'name': '运动中任务取消',
              'type': 'RAW',
            }),
            dict({
              'code': 'charge_status',
              'id': '133',
              'mode': 'ro',
              'name': '充电状态',
              'type': 'RAW',
            }),
            dict({
              'code': 'drying_status',
              'id': '134',
              'mode': 'ro',
              'name': '烘干状态',
              'type': 'RAW',
            }),
          ]),
        }),
        'traits': dict({
          'device_features': dict({
            'isActivateVideoChargingAndStandbySupported': False,
            'isAnalysisSupported': True,
            'isAnyStateTransitGotoSupported': False,
            'isAutoCollection2Supported': False,
            'isAutoDeliveryFieldInGlobalStatusSupported': False,
            'isAutoTearDownMopSupported': False,
            'isAvoidCollisionModeSupported': False,
            'isAvoidCollisionSupported': False,
            'isBackChargeAutoWashSupported': False,
            'isBackWashNewSmartSupported': False,
            'isCarefulSlowMopSupported': False,
            'isCarpetCustomCleanSupported': False,
            'isCarpetDeepCleanSupported': False,
            'isCarpetLongHairedExSupported': False,
            'isCarpetLongHairedSupported': False,
            'isCarpetPressureUseOriginParasSupported': False,
            'isCarpetShapeTypeSupported': False,
            'isCarpetShowOnMap': False,
            'isCarpetSupported': False,
            'isCes2022Supported': False,
            'isCleanCountSettingSupported': False,
            'isCleanDirectStatusSupported': False,
            'isCleanEfficiencySupported': False,
            'isCleanFluidDeliverySupported': False,
            'isCleanHistoryTimeLineSupported': False,
            'isCleanRouteDeepSlowPlusSupported': False,
            'isCleanRouteFastModeSupported': False,
            'isCleanRouteSettingSupported': True,
            'isCleanThenMopModeSupported': False,
            'isCleanTimeLineSupported': False,
            'isCollectDustCountShowSupported': False,
            'isCollectDustModeSupported': True,
            'isCornerCleanModeSupported': False,
            'isCornerMopStretchSupported': False,
            'isCtmWithRepeatSupported': False,
            'isCurrentMapRestoreEnabled': True,
            'isCustomCleanModeCountSupported': False,
            'isCustomModeSupported': True,
            'isCustomWaterBoxDistanceSupported': True,
            'isCustomizedCleanSupported': True,
            'isDetectWireCarpetSupported': False,
            'isDirtyObjectDetectSupported': False,
            'isDirtyReplenishCleanSupported': False,
            'isDryIntervalTimerSupported': False,
            'isDssBelievable': False,
            'isDualBandWiFiSupported': False,
            'isDustCollectionSettingSupported': False,
            'isDynamicallyAddCleanZonesSupported': False,
            'isDynamicallySkipCleanZoneSupported': False,
            'isEggDanceModeSupported': False,
            'isEggModeSupportedFromNewFeatures': False,
            'isExactCustomModeSupported': False,
            'isExhibitionFunctionSupported': False,
            'isFloorDirCleanAnyTimeSupported': False,
            'isFlowLedSettingSupported': False,
            'isFollowLowObsSupported': False,
            'isFullDuplesSwitchSupported': False,
            'isFwFilterObstacleSupported': False,
            'isGapDeepCleanSupported': False,
            'isGotoPureCleanPathSupported': False,
            'isHotWashTowelSupported': False,
            'isIdentifyRoomSupported': False,
            'isIgnoreUnknownMapObjectSupported': False,
            'isLdsLiftingSupported': False,
            'isLedStatusSwitchSupported': True,
            'isLeftWaterDrainSupported': False,
            'isLowAreaAccessSupported': False,
            'isMainBrushUpDownSupportedFromStr': False,
            'isMapBeautifyInternalDebugSupported': False,
            'isMapCarpetAddSupport': False,
            'isMapEraserSupported': False,
            'isMatterSupported': False,
            'isMaxPlusModeSupported': True,
            'isMaxZoneOpenedSupported': False,
            'isMechanicalArmModeSupported': False,
            'isMidwayBackToDockSupported': False,
            'isMinBattery15ToCleanTaskSupported': False,
            'isMopForbiddenSupported': True,
            'isMopPathSupported': False,
            'isMopShakeModuleSupported': True,
            'isMopShakeWaterMaxSupported': False,
            'isMultiFloorSupported': True,
            'isMultiMapSegmentTimerSupported': True,
            'isNewAiRecognitionSupported': False,
            'isNewDataForCleanHistory': False,
            'isNewDataForCleanHistoryDetail': False,
            'isNewEndpointSupported': False,
            'isNewRemoteViewSupported': True,
            'isNoNeedCarpetPressSetSupported': False,
            'isNonePureCleanMopWithMaxPlus': False,
            'isObjectDetectCheckSupported': False,
            'isOfflineMapSupported': False,
            'isOptimizeBatterySupported': False,
            'isOrderCleanSupported': True,
            'isOverSeaCtmSupported': False,
            'isPetSnapshotSupported': False,
            'isPetSuppliesDeepCleanSupported': False,
            'isProgramModeSupported': False,
            'isPumpingWaterSupported': False,
            'isPureCleanMopSupported': True,
            'isReSegmentSupported': True,
            'isRecordAllowed': False,
            'isRemoteSupported': True,
            'isRightBrushStretchSupported': False,
            'isRoomNameSupported': True,
            'isRpcRetrySupported': False,
            'isRubberBrushCarpetSupported': False,
            'isSetChildSupported': False,
            'isSettingCarpetFirstSupported': False,
            'isShakeMopSetSupported': False,
            'isShouldShowArmOverLoadSupported': False,
            'isShowCleanFinishReasonSupported': True,
            'isShowGeneralObstacleSupported': False,
            'isShowObstaclePhotoSupported': False,
            'isSideBrushLiftCarpetSupported': False,
            'isSmallSideMopSupported': False,
            'isSmartCleanModeSetSupported': False,
            'isSoakAndWashSupported': False,
            'isSoftCleanModeSupported': False,
            'isSrMapSupported': False,
            'isSuperDeepWashSupported': False,
            'isSupportApiAppStopGraspSupported': False,
            'isSupportBackupMap': True,
            'isSupportCleanEstimate': False,
            'isSupportCliffZone': False,
            'isSupportCustomCarpet': False,
            'isSupportCustomDnd': False,
            'isSupportCustomDoorSill': False,
            'isSupportCustomModeInCleaning': False,
            'isSupportFetchTimerSummary': True,
            'isSupportFloorDirection': False,
            'isSupportFloorEdit': False,
            'isSupportFurniture': False,
            'isSupportGetParticularStatusSupported': False,
            'isSupportIncrementalMap': False,
            'isSupportMainBrushUpDownSupported': False,
            'isSupportMopBackPwmSet': False,
            'isSupportQuickMapBuilder': True,
            'isSupportRemoteControlInCall': False,
            'isSupportRoomTag': False,
            'isSupportSetSwitchMapMode': False,
            'isSupportSetVolumeInCall': False,
            'isSupportSideBrushUpDownSupported': False,
            'isSupportSmartDoorSill': False,
            'isSupportSmartGlobalCleanWithCustomMode': False,
            'isSupportSmartScene': False,
            'isSupportStuckZone': False,
            'isSupportVoiceControlDebug': False,
            'isSupportWaterMode': True,
            'isSupportedDownloadTestVoice': False,
            'isSupportedDrying': False,
            'isSupportedValleyElectricity': False,
            'isSyncServerNameSupported': False,
            'isThreeDMappingInnerTestSupported': False,
            'isTidyupZonesSupported': False,
            'isTwoGearsNoCollisionSupported': False,
            'isTwoKeyRealTimeVideoSupported': False,
            'isTwoKeyRtvInChargingSupported': False,
            'isTypeIdentifySupported': False,
            'isUnsaveMapReasonSupported': True,
            'isUvcSterilizeSupported': False,
            'isVideoMonitorSupported': False,
            'isVideoPatrolSupported': False,
            'isVideoSettingSupported': False,
            'isVoiceControlLedSupported': False,
            'isVoiceControlSupported': False,
            'isWashThenChargeCmdSupported': False,
            'isWaterLeakCheckSupported': False,
            'isWaterSlideModeSupported': False,
            'isWaterUpDownDrainSupported': False,
            'isWifiManageSupported': False,
            'isWorkdayHolidaySupported': False,
          }),
          'led_status': dict({
            'status': 0,
          }),
          'network_info': dict({
            'ip': '**REDACTED**',
          }),
          'status': dict({
            'adbumperStatus': list([
              0,
              0,
              0,
            ]),
            'autoDustCollection': 1,
            'avoidCount': 19,
            'backType': -1,
            'battery': 100,
            'cameraStatus': 3457,
            'chargeStatus': 1,
            'cleanArea': 20965000,
            'cleanTime': 1176,
            'collisionAvoidStatus': 1,
            'debugMode': 0,
            'dndEnabled': 0,
            'dockErrorStatus': 0,
            'dockType': 3,
            'dustCollectionStatus': 0,
            'errorCode': 0,
            'fanPower': 102,
            'homeSecEnablePassword': 0,
            'homeSecStatus': 0,
            'inCleaning': 0,
            'inFreshState': 1,
            'inReturning': 0,
            'isExploring': 0,
            'isLocating': 0,
            'labStatus': 1,
            'lockStatus': 0,
            'mapPresent': 1,
            'mapStatus': 3,
            'mopForbiddenEnable': 1,
            'mopMode': 300,
            'msgSeq': 458,
            'msgVer': 2,
            'state': 8,
            'switchMapMode': 0,
            'unsaveMapFlag': 0,
            'unsaveMapReason': 0,
            'washPhase': 0,
            'washReady': 0,
            'waterBoxCarriageStatus': 1,
            'waterBoxMode': 203,
            'waterBoxStatus': 1,
            'waterShortageStatus': 0,
          }),
        }),
      }),
    ]),
    'diagnostics': dict({
      'discover_devices': 1,
      'fetch_home_data': 1,
      'supported_devices': dict({
        '1.0': 1,
      }),
    }),
    'home_data': dict({
      'devices': list([
        dict({
          'activeTime': 1672364449,
          'deviceStatus': dict({
            '120': 0,
            '121': 8,
            '122': 100,
            '123': 102,
            '124': 203,
            '125': 94,
            '126': 90,
            '127': 87,
            '128': 0,
            '133': 1,
          }),
          'duid': '******bc123',
          'extra': '{"RRPhotoPrivacyVersion": "1"}',
          'featureSet': '2234201184108543',
          'fv': '02.56.02',
          'iconUrl': 'no_url',
          'localKey': '**REDACTED**',
          'name': '**REDACTED**',
          'newFeatureSet': '0000000000002041',
          'online': True,
          'productId': '**REDACTED**',
          'pv': '1.0',
          'roomId': 2362003,
          'share': False,
          'silentOtaSwitch': True,
          'sn': '**REDACTED**',
          'timeZoneId': 'America/Los_Angeles',
          'tuyaMigrated': False,
        }),
      ]),
      'id': '**REDACTED**',
      'name': '**REDACTED**',
      'products': list([
        dict({
          'capability': 0,
          'category': 'robot.vacuum.cleaner',
          'code': 'a27',
          'id': '**REDACTED**',
          'model': 'roborock.vacuum.a27',
          'name': '**REDACTED**',
          'schema': list([
            dict({
              'code': 'rpc_request_code',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'rpc_response',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'error_code',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'state',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'battery',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'fan_power',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'water_box_mode',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'property': '{"range": []}',
              'type': 'ENUM',
            }),
            dict({
              'code': 'main_brush_life',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
              'type': 'VALUE',
            }),
            dict({
              'code': 'side_brush_life',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
              'type': 'VALUE',
            }),
            dict({
              'code': 'filter_life',
              'id': '**REDACTED**',
              'mode': 'rw',
              'name': '**REDACTED**',
              'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
              'type': 'VALUE',
            }),
            dict({
              'code': 'additional_props',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'task_complete',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'task_cancel_low_power',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'task_cancel_in_motion',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'charge_status',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
            dict({
              'code': 'drying_status',
              'id': '**REDACTED**',
              'mode': 'ro',
              'name': '**REDACTED**',
              'type': 'RAW',
            }),
          ]),
        }),
      ]),
      'receivedDevices': list([
      ]),
      'rooms': list([
        dict({
          'id': 2362048,
          'name': '**REDACTED**',
        }),
        dict({
          'id': 2362044,
          'name': '**REDACTED**',
        }),
        dict({
          'id': 2362041,
          'name': '**REDACTED**',
        }),
      ]),
    }),
  })
# ---
