ollo69 / ha-smartthinq-sensors

HomeAssistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface.
Apache License 2.0
1.04k stars 149 forks source link

Washer door sensor not working. Model WM3600HWA #678

Closed MKoroschetz closed 3 months ago

MKoroschetz commented 5 months ago

The binary_sensor.lg_washer_door_close from the washer's door sensor is not reflecting the state (open/close). The corresponding attribute {{ state_attr('sensor.lg_washer','door_lock') }} is not changing.

It always states: "unkown".

debug excerpt: 2024-01-18 03:47:04.093 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 20.14s 2024-01-18 03:47:33.094 DEBUG (MainThread) [custom_components.smartthinq_sensors] Updating ThinQ device LG Washer 2024-01-18 03:47:33.094 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.device] Updating ThinQ device LG Washer 2024-01-18 03:47:33.095 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.device] Polling... 2024-01-18 03:47:33.095 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.core_async] thinq2_get before: https://aic-service.lgthinq.com:46030/v1/service/application/dashboard 2024-01-18 03:47:33.833 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.core_async] thinq2_get after: {'resultCode': '0000', 'result': {'langPackCommonVer': '212.3', 'langPackCommonUri': 'https://objectcontent.lgthinq.com/07770850-c6fb-46f6-a589-cbbcb1dc2d98?hdnts=exp=1768365106~hmac=bb44544590b94e64b0dc7225edd1e950743bc5dab9fc689898dc151c8750de52', 'item': [{'appType': 'NUTS', 'modelAppType': 'NUTS', 'modelCountryCode': 'WW', 'countryCode': 'US', 'modelName': 'F3P2CYVAT__', 'deviceType': 201, 'deviceCode': 'LA02', 'alias': 'LG Washer', 'deviceId': 'bdb9275e-8381-1c7a-8344-f8b95a41ccd4', 'fwVer': '', 'imageFileName': 'home_appliances_img_wmdrum.png', 'imageUrl': 'https://objectcontent.lgthinq.com/3120cb69-4c7c-48d5-9d69-d6fad3480955?hdnts=exp=1762124452~hmac=017324ae95f64a468f394107eb06e1ce2c185a5b18637849d5ccb3da0efe300e', 'smallImageUrl': 'https://objectcontent.lgthinq.com/04f965fe-de9b-42cc-884a-40a852782225?hdnts=exp=1762048860~hmac=b1409258e050fb4c0b1782d4db4a5a782f1c10900140f1e5242b22eccd5e8ac6', 'ssid': 'MK-Home-Lan', 'softapId': '', 'softapPass': '', 'macAddress': '', 'networkType': '02', 'timezoneCode': 'America/New_York', 'timezoneCodeAlias': 'USA/New_York', 'utcOffset': -5, 'utcOffsetDisplay': '-05:00', 'dstOffset': -4, 'dstOffsetDisplay': '-04:00', 'curOffset': -5, 'curOffsetDisplay': '-05:00', 'sdsGuide': '{"deviceCode":"LA02"}', 'newRegYn': 'N', 'userNo': 'US2401162013280', 'tftYn': 'N', 'modelJsonVer': 0.7, 'modelJsonUri': 'https://objectcontent.lgthinq.com/e5d31b67-e017-41fe-a8e1-3fb094b47b82?hdnts=exp=1718175615~hmac=5b3cfabcae0d16c8bc60fee789176aca29f5cdb6a4fc1709b8109907f738e667', 'appModuleVer': 203.16, 'appModuleUri': 'https://objectcontent.lgthinq.com/f24d6ee6-d315-48b5-ab0f-4edcf0c5bc48?hdnts=exp=1719705644~hmac=0ae2d5e30c62a99d2eeeb7decd5e334648f43c9c986c76cf0f73923a0c7b2c17', 'appRestartYn': 'Y', 'appModuleSize': 3696622, 'langPackProductTypeVer': 137.3, 'langPackProductTypeUri': 'https://objectcontent.lgthinq.com/e67686f4-1edb-439b-aeb4-b5d02f92f1bc?hdnts=exp=1768468575~hmac=da8964ffc7f9ccee42f2709a9549397b39217ea0d602405d7e20aac721a0b892', 'langPackModelVer': 0.1, 'langPackModelUri': 'https://objectcontent.lgthinq.com/f19313fe-3d2f-492f-8dc6-d81e2e95fa1a?hdnts=exp=1714528841~hmac=f6eea25b9bf9d129ded776aa7b2284d0b54300948f46294726a219997b647b8f', 'deviceState': 'E', 'snapshot': {'washerDryer': {'remoteMaintain': 'REMOTE_MAINTAIN_OFF', 'rinseDefault': 'AUTODETECT_MANUAL', 'smartCare_onOff': 'SMARTCARE_BUTTON_OFF', 'initialTimeMinute': 0.0, 'preState': 'INITIAL', 'drumLight': 'DRUMLIGHT_OFF', 'washTime': 'NO_WASHTIME', 'addGarment': 'ADDGARMENT_OFF', 'autoCourseArrange': 'AUTO_COURSE_ARRANGE_OFF', 'autoSoak': 'AUTOSOAK_OFF', 'dnnReady': 'DNNREADY_OFF', 'preWash': 'PREWASH_OFF', 'state': 'POWEROFF', 'ezCSSoftenerSetVal': 'EZCSSO_OFF', 'intensive': 'INTENSIVE_OFF', 'wrinkleCare': 'WRINKLECARE_OFF', 'downloadCourse': 'ECONOWASH', 'smallUE': 'SMALLUE_OFF', 'buzzer': 'BUZZER_4', 'AIDDLed': 'AIDDLed_OFF', 'cloudCourse': 'NOT_SELECTED', 'freshCare': 'FRESHCARE_OFF', 'extraRinse': 'EXTRARINSE_OFF', 'medicRinse': 'MEDICRINSE_OFF', 'ezDispenseNotation': 'ezDisNotation_ml', 'turboWash': 'TURBOWASH_OFF', 'remainTimeMinute': 1.0, 'steamSoftener': 'STEAMSOFTENER_OFF', 'warmWater': 'WARMWATERT_OFF', 'delay': 'DELAY_OFF', 'soak': 'NO_SOAK', 'childLock': 'CHILDLOCK_OFF', 'remoteStart': 'REMOTE_START_OFF', 'rinseHold': 'RINSE_HOLD_OFF', 'audibleSDS': 'AUDIBLE_SDS_OFF', 'ezDispenseDrawerState': 'ezDisDrawer_CLOSE', 'favorite': 'FAVORITE_OFF', 'rinseSpin': 'RINSE_SPIN_OFF', 'courseSpendWater': 0.0, 'autoDetection': 'AUTO_DETECTION_OFF', 'laundryTexture': 0.0, 'standby': 'STANDBY_OFF', 'timeSave': 'TIMESAVE_OFF', 'speechRecognitionMode': 'SPEECH_RECOGNITION_MODE_OFF', 'courseSpendPower': 0.0, 'error': 'ERROR_NO', 'dryLevel': 'NO_DRYLEVEL', 'ezDetergentState': 'EZCSDT_NOT_EMPTY', 'washLoadDisplay': 'WASHLOAD_DISPLAY_OFF', 'creaseCare': 'CREASECARE_OFF', 'ezSoftenerAmount': 0.0, 'rinseCount': 'NO_RINSE', 'course': 'NOT_SELECTED', 'protocolVersion': 0.0, 'steam': 'STEAM_OFF', 'sterilize': 'STERILIZE_OFF', 'multiStain': 'MULTISTAIN_OFF', 'rinse': 'RINSE_NORMAL', 'loadItemWasher': 'LOADITEM_OFF', 'temp': 'NO_TEMP', 'doorLock': 'DOORLOCK_OFF', 'reserveTimeMinute': 0.0, 'ezCSDetergentSetVal': 'EZCSDT_OFF', 'baseDownloadCourseData': 'NOT_SELECTED', 'TCLCount': 6.0, 'waterPlus': 'WATERPLUS_OFF', 'smartGridEnable': 'SMARTGRIDENABLE_OFF', 'fabricSoftener': 'FABRIC_SOFTENER_OFF', 'saveEnergy': 'SAVE_ENERGY_OFF', 'wifiSDS': 'WIFI_SDS_OFF', 'ezSoftenerState': 'EZCSSO_NOT_EMPTY', 'coolDown': 'COOLDOWN_OFF', 'ecoHybrid': 'ECOHYBRID_OFF', 'voiceState': 'VOICESTATE_OFF', 'doorClose': 'DOORCLOSE_OFF', 'spin': 'NO_SPIN', 'ezDetergentAmount': 0.0, 'waterLevel': 'WATERLEVEL_0', 'soilWash': 'NO_SOILWASH', 'activeStandbyEnable': 'AUTO_STANDBY_OFF', 'coldWash': 'COLDWASH_OFF', 'loadLevel': 'LOAD_AUTO_DETECT'}, 'fwUpgradeInfo': {'upgSched': {'upgUtc': '0', 'cmd': 'none'}}, 'static': {'deviceType': '201', 'countryCode': 'US'}, 'meta': {'allDeviceInfoUpdate': False, 'messageId': 'e9DLa2eiS2yHRPUd_qib8g'}, 'mid': 0.0, 'online': True, 'timestamp': 1705549358031.0}, 'online': True, 'platformType': 'thinq2', 'area': 334505, 'regDt': 20240116005929.0, 'blackboxYn': 'Y', 'modelProtocol': 'courseWasher', 'order': 0, 'drServiceYn': 'N', 'fwInfoList': [{'checksum': '0000B4E6', 'order': 2.0, 'partNumber': 'SAA42476401'}, {'checksum': '0000C814', 'order': 1.0, 'partNumber': 'SAA42102501'}], 'modemInfo': {'appVersion': 'clip_hna_v1.9.195', 'modelName': 'F3P2CYVAT__', 'modemType': 'RTK_RTL8711am', 'oneshot': 'y', 'ruleEngine': 'y', 'size': 1572864.0}, 'guideTypeYn': 'Y', 'guideType': 'TYPE2', 'regDtUtc': '20240116045929', 'regIndex': 0, 'groupableYn': 'N', 'controllableYn': 'N', 'combinedProductYn': 'N', 'masterYn': 'Y', 'pccModelYn': 'Y', 'sdsPid': {'sds4': '', 'sds3': '1012', 'sds2': '', 'sds1': ''}, 'autoOrderYn': 'N', 'initDevice': False, 'existsEntryPopup': 'N', 'tclcount': 0}], 'group': []}} 2024-01-18 03:47:33.836 DEBUG (MainThread) [custom_components.smartthinq_sensors] ThinQ status updated 2024-01-18 03:47:33.836 DEBUG (MainThread) [custom_components.smartthinq_sensors] Finished fetching smartthinq_sensors-LG Washer data in 0.742 seconds (success: True) 2024-01-18 03:48:04.094 DEBUG (MainThread) [custom_components.smartthinq_sensors] Updating ThinQ device LG Washer 2024-01-18 03:48:04.095 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.device] Updating ThinQ device LG Washer 2024-01-18 03:48:04.095 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.device] Polling... 2024-01-18 03:48:04.096 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.core_async] thinq2_get before: https://aic-service.lgthinq.com:46030/v1/service/application/dashboard 2024-01-18 03:48:04.537 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.core_async] thinq2_get after: {'resultCode': '0000', 'result': {'langPackCommonVer': '212.3', 'langPackCommonUri': 'https://objectcontent.lgthinq.com/07770850-c6fb-46f6-a589-cbbcb1dc2d98?hdnts=exp=1768365106~hmac=bb44544590b94e64b0dc7225edd1e950743bc5dab9fc689898dc151c8750de52', 'item': [{'appType': 'NUTS', 'modelAppType': 'NUTS', 'modelCountryCode': 'WW', 'countryCode': 'US', 'modelName': 'F3P2CYVAT__', 'deviceType': 201, 'deviceCode': 'LA02', 'alias': 'LG Washer', 'deviceId': 'bdb9275e-8381-1c7a-8344-f8b95a41ccd4', 'fwVer': '', 'imageFileName': 'home_appliances_img_wmdrum.png', 'imageUrl': 'https://objectcontent.lgthinq.com/3120cb69-4c7c-48d5-9d69-d6fad3480955?hdnts=exp=1762124452~hmac=017324ae95f64a468f394107eb06e1ce2c185a5b18637849d5ccb3da0efe300e', 'smallImageUrl': 'https://objectcontent.lgthinq.com/04f965fe-de9b-42cc-884a-40a852782225?hdnts=exp=1762048860~hmac=b1409258e050fb4c0b1782d4db4a5a782f1c10900140f1e5242b22eccd5e8ac6', 'ssid': 'MK-Home-Lan', 'softapId': '', 'softapPass': '', 'macAddress': '', 'networkType': '02', 'timezoneCode': 'America/New_York', 'timezoneCodeAlias': 'USA/New_York', 'utcOffset': -5, 'utcOffsetDisplay': '-05:00', 'dstOffset': -4, 'dstOffsetDisplay': '-04:00', 'curOffset': -5, 'curOffsetDisplay': '-05:00', 'sdsGuide': '{"deviceCode":"LA02"}', 'newRegYn': 'N', 'userNo': 'US2401162013280', 'tftYn': 'N', 'modelJsonVer': 0.7, 'modelJsonUri': 'https://objectcontent.lgthinq.com/e5d31b67-e017-41fe-a8e1-3fb094b47b82?hdnts=exp=1718175615~hmac=5b3cfabcae0d16c8bc60fee789176aca29f5cdb6a4fc1709b8109907f738e667', 'appModuleVer': 203.16, 'appModuleUri': 'https://objectcontent.lgthinq.com/f24d6ee6-d315-48b5-ab0f-4edcf0c5bc48?hdnts=exp=1719705644~hmac=0ae2d5e30c62a99d2eeeb7decd5e334648f43c9c986c76cf0f73923a0c7b2c17', 'appRestartYn': 'Y', 'appModuleSize': 3696622, 'langPackProductTypeVer': 137.3, 'langPackProductTypeUri': 'https://objectcontent.lgthinq.com/e67686f4-1edb-439b-aeb4-b5d02f92f1bc?hdnts=exp=1768468575~hmac=da8964ffc7f9ccee42f2709a9549397b39217ea0d602405d7e20aac721a0b892', 'langPackModelVer': 0.1, 'langPackModelUri': 'https://objectcontent.lgthinq.com/f19313fe-3d2f-492f-8dc6-d81e2e95fa1a?hdnts=exp=1714528841~hmac=f6eea25b9bf9d129ded776aa7b2284d0b54300948f46294726a219997b647b8f', 'deviceState': 'E', 'snapshot': {'washerDryer': {'remoteMaintain': 'REMOTE_MAINTAIN_OFF', 'rinseDefault': 'AUTODETECT_MANUAL', 'smartCare_onOff': 'SMARTCARE_BUTTON_OFF', 'initialTimeMinute': 0.0, 'preState': 'INITIAL', 'drumLight': 'DRUMLIGHT_OFF', 'washTime': 'NO_WASHTIME', 'addGarment': 'ADDGARMENT_OFF', 'autoCourseArrange': 'AUTO_COURSE_ARRANGE_OFF', 'autoSoak': 'AUTOSOAK_OFF', 'dnnReady': 'DNNREADY_OFF', 'preWash': 'PREWASH_OFF', 'state': 'POWEROFF', 'ezCSSoftenerSetVal': 'EZCSSO_OFF', 'intensive': 'INTENSIVE_OFF', 'wrinkleCare': 'WRINKLECARE_OFF', 'downloadCourse': 'ECONOWASH', 'smallUE': 'SMALLUE_OFF', 'buzzer': 'BUZZER_4', 'AIDDLed': 'AIDDLed_OFF', 'cloudCourse': 'NOT_SELECTED', 'freshCare': 'FRESHCARE_OFF', 'extraRinse': 'EXTRARINSE_OFF', 'medicRinse': 'MEDICRINSE_OFF', 'ezDispenseNotation': 'ezDisNotation_ml', 'turboWash': 'TURBOWASH_OFF', 'remainTimeMinute': 1.0, 'steamSoftener': 'STEAMSOFTENER_OFF', 'warmWater': 'WARMWATERT_OFF', 'delay': 'DELAY_OFF', 'soak': 'NO_SOAK', 'childLock': 'CHILDLOCK_OFF', 'remoteStart': 'REMOTE_START_OFF', 'rinseHold': 'RINSE_HOLD_OFF', 'audibleSDS': 'AUDIBLE_SDS_OFF', 'ezDispenseDrawerState': 'ezDisDrawer_CLOSE', 'favorite': 'FAVORITE_OFF', 'rinseSpin': 'RINSE_SPIN_OFF', 'courseSpendWater': 0.0, 'autoDetection': 'AUTO_DETECTION_OFF', 'laundryTexture': 0.0, 'standby': 'STANDBY_OFF', 'timeSave': 'TIMESAVE_OFF', 'speechRecognitionMode': 'SPEECH_RECOGNITION_MODE_OFF', 'courseSpendPower': 0.0, 'error': 'ERROR_NO', 'dryLevel': 'NO_DRYLEVEL', 'ezDetergentState': 'EZCSDT_NOT_EMPTY', 'washLoadDisplay': 'WASHLOAD_DISPLAY_OFF', 'creaseCare': 'CREASECARE_OFF', 'ezSoftenerAmount': 0.0, 'rinseCount': 'NO_RINSE', 'course': 'NOT_SELECTED', 'protocolVersion': 0.0, 'steam': 'STEAM_OFF', 'sterilize': 'STERILIZE_OFF', 'multiStain': 'MULTISTAIN_OFF', 'rinse': 'RINSE_NORMAL', 'loadItemWasher': 'LOADITEM_OFF', 'temp': 'NO_TEMP', 'doorLock': 'DOORLOCK_OFF', 'reserveTimeMinute': 0.0, 'ezCSDetergentSetVal': 'EZCSDT_OFF', 'baseDownloadCourseData': 'NOT_SELECTED', 'TCLCount': 6.0, 'waterPlus': 'WATERPLUS_OFF', 'smartGridEnable': 'SMARTGRIDENABLE_OFF', 'fabricSoftener': 'FABRIC_SOFTENER_OFF', 'saveEnergy': 'SAVE_ENERGY_OFF', 'wifiSDS': 'WIFI_SDS_OFF', 'ezSoftenerState': 'EZCSSO_NOT_EMPTY', 'coolDown': 'COOLDOWN_OFF', 'ecoHybrid': 'ECOHYBRID_OFF', 'voiceState': 'VOICESTATE_OFF', 'doorClose': 'DOORCLOSE_OFF', 'spin': 'NO_SPIN', 'ezDetergentAmount': 0.0, 'waterLevel': 'WATERLEVEL_0', 'soilWash': 'NO_SOILWASH', 'activeStandbyEnable': 'AUTO_STANDBY_OFF', 'coldWash': 'COLDWASH_OFF', 'loadLevel': 'LOAD_AUTO_DETECT'}, 'fwUpgradeInfo': {'upgSched': {'upgUtc': '0', 'cmd': 'none'}}, 'static': {'deviceType': '201', 'countryCode': 'US'}, 'meta': {'allDeviceInfoUpdate': False, 'messageId': 'e9DLa2eiS2yHRPUd_qib8g'}, 'mid': 0.0, 'online': True, 'timestamp': 1705549358031.0}, 'online': True, 'platformType': 'thinq2', 'area': 334505, 'regDt': 20240116005929.0, 'blackboxYn': 'Y', 'modelProtocol': 'courseWasher', 'order': 0, 'drServiceYn': 'N', 'fwInfoList': [{'checksum': '0000B4E6', 'order': 2.0, 'partNumber': 'SAA42476401'}, {'checksum': '0000C814', 'order': 1.0, 'partNumber': 'SAA42102501'}], 'modemInfo': {'appVersion': 'clip_hna_v1.9.195', 'modelName': 'F3P2CYVAT__', 'modemType': 'RTK_RTL8711am', 'oneshot': 'y', 'ruleEngine': 'y', 'size': 1572864.0}, 'guideTypeYn': 'Y', 'guideType': 'TYPE2', 'regDtUtc': '20240116045929', 'regIndex': 0, 'groupableYn': 'N', 'controllableYn': 'N', 'combinedProductYn': 'N', 'masterYn': 'Y', 'pccModelYn': 'Y', 'sdsPid': {'sds4': '', 'sds3': '1012', 'sds2': '', 'sds1': ''}, 'autoOrderYn': 'N', 'initDevice': False, 'existsEntryPopup': 'N', 'tclcount': 0}], 'group': []}} 2024-01-18 03:48:04.540 DEBUG (MainThread) [custom_components.smartthinq_sensors] ThinQ status updated 2024-01-18 03:48:04.540 DEBUG (MainThread) [custom_components.smartthinq_sensors] Finished fetching smartthinq_sensors-LG Washer data in 0.446 seconds (success: True) 2024-01-18 03:48:34.094 DEBUG (MainThread) [custom_components.smartthinq_sensors] Updating ThinQ device LG Washer 2024-01-18 03:48:34.094 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.device] Updating ThinQ device LG Washer 2024-01-18 03:48:34.095 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.device] Polling... 2024-01-18 03:48:34.095 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.core_async] thinq2_get before: https://aic-service.lgthinq.com:46030/v1/service/application/dashboard 2024-01-18 03:48:34.544 DEBUG (MainThread) [custom_components.smartthinq_sensors.wideq.core_async] thinq2_get after: {'resultCode': '0000', 'result': {'langPackCommonVer': '212.3', 'langPackCommonUri': 'https://objectcontent.lgthinq.com/07770850-c6fb-46f6-a589-cbbcb1dc2d98?hdnts=exp=1768365106~hmac=bb44544590b94e64b0dc7225edd1e950743bc5dab9fc689898dc151c8750de52', 'item': [{'appType': 'NUTS', 'modelAppType': 'NUTS', 'modelCountryCode': 'WW', 'countryCode': 'US', 'modelName': 'F3P2CYVAT__', 'deviceType': 201, 'deviceCode': 'LA02', 'alias': 'LG Washer', 'deviceId': 'bdb9275e-8381-1c7a-8344-f8b95a41ccd4', 'fwVer': '', 'imageFileName': 'home_appliances_img_wmdrum.png', 'imageUrl': 'https://objectcontent.lgthinq.com/3120cb69-4c7c-48d5-9d69-d6fad3480955?hdnts=exp=1762124452~hmac=017324ae95f64a468f394107eb06e1ce2c185a5b18637849d5ccb3da0efe300e', 'smallImageUrl': 'https://objectcontent.lgthinq.com/04f965fe-de9b-42cc-884a-40a852782225?hdnts=exp=1762048860~hmac=b1409258e050fb4c0b1782d4db4a5a782f1c10900140f1e5242b22eccd5e8ac6', 'ssid': 'MK-Home-Lan', 'softapId': '', 'softapPass': '', 'macAddress': '', 'networkType': '02', 'timezoneCode': 'America/New_York', 'timezoneCodeAlias': 'USA/New_York', 'utcOffset': -5, 'utcOffsetDisplay': '-05:00', 'dstOffset': -4, 'dstOffsetDisplay': '-04:00', 'curOffset': -5, 'curOffsetDisplay': '-05:00', 'sdsGuide': '{"deviceCode":"LA02"}', 'newRegYn': 'N', 'userNo': 'US2401162013280', 'tftYn': 'N', 'modelJsonVer': 0.7, 'modelJsonUri': 'https://objectcontent.lgthinq.com/e5d31b67-e017-41fe-a8e1-3fb094b47b82?hdnts=exp=1718175615~hmac=5b3cfabcae0d16c8bc60fee789176aca29f5cdb6a4fc1709b8109907f738e667', 'appModuleVer': 203.16, 'appModuleUri': 'https://objectcontent.lgthinq.com/f24d6ee6-d315-48b5-ab0f-4edcf0c5bc48?hdnts=exp=1719705644~hmac=0ae2d5e30c62a99d2eeeb7decd5e334648f43c9c986c76cf0f73923a0c7b2c17', 'appRestartYn': 'Y', 'appModuleSize': 3696622, 'langPackProductTypeVer': 137.3, 'langPackProductTypeUri': 'https://objectcontent.lgthinq.com/e67686f4-1edb-439b-aeb4-b5d02f92f1bc?hdnts=exp=1768468575~hmac=da8964ffc7f9ccee42f2709a9549397b39217ea0d602405d7e20aac721a0b892', 'langPackModelVer': 0.1, 'langPackModelUri': 'https://objectcontent.lgthinq.com/f19313fe-3d2f-492f-8dc6-d81e2e95fa1a?hdnts=exp=1714528841~hmac=f6eea25b9bf9d129ded776aa7b2284d0b54300948f46294726a219997b647b8f', 'deviceState': 'E', 'snapshot': {'washerDryer': {'remoteMaintain': 'REMOTE_MAINTAIN_OFF', 'rinseDefault': 'AUTODETECT_MANUAL', 'smartCare_onOff': 'SMARTCARE_BUTTON_OFF', 'initialTimeMinute': 0.0, 'preState': 'INITIAL', 'drumLight': 'DRUMLIGHT_OFF', 'washTime': 'NO_WASHTIME', 'addGarment': 'ADDGARMENT_OFF', 'autoCourseArrange': 'AUTO_COURSE_ARRANGE_OFF', 'autoSoak': 'AUTOSOAK_OFF', 'dnnReady': 'DNNREADY_OFF', 'preWash': 'PREWASH_OFF', 'state': 'POWEROFF', 'ezCSSoftenerSetVal': 'EZCSSO_OFF', 'intensive': 'INTENSIVE_OFF', 'wrinkleCare': 'WRINKLECARE_OFF', 'downloadCourse': 'ECONOWASH', 'smallUE': 'SMALLUE_OFF', 'buzzer': 'BUZZER_4', 'AIDDLed': 'AIDDLed_OFF', 'cloudCourse': 'NOT_SELECTED', 'freshCare': 'FRESHCARE_OFF', 'extraRinse': 'EXTRARINSE_OFF', 'medicRinse': 'MEDICRINSE_OFF', 'ezDispenseNotation': 'ezDisNotation_ml', 'turboWash': 'TURBOWASH_OFF', 'remainTimeMinute': 1.0, 'steamSoftener': 'STEAMSOFTENER_OFF', 'warmWater': 'WARMWATERT_OFF', 'delay': 'DELAY_OFF', 'soak': 'NO_SOAK', 'childLock': 'CHILDLOCK_OFF', 'remoteStart': 'REMOTE_START_OFF', 'rinseHold': 'RINSE_HOLD_OFF', 'audibleSDS': 'AUDIBLE_SDS_OFF', 'ezDispenseDrawerState': 'ezDisDrawer_CLOSE', 'favorite': 'FAVORITE_OFF', 'rinseSpin': 'RINSE_SPIN_OFF', 'courseSpendWater': 0.0, 'autoDetection': 'AUTO_DETECTION_OFF', 'laundryTexture': 0.0, 'standby': 'STANDBY_OFF', 'timeSave': 'TIMESAVE_OFF', 'speechRecognitionMode': 'SPEECH_RECOGNITION_MODE_OFF', 'courseSpendPower': 0.0, 'error': 'ERROR_NO', 'dryLevel': 'NO_DRYLEVEL', 'ezDetergentState': 'EZCSDT_NOT_EMPTY', 'washLoadDisplay': 'WASHLOAD_DISPLAY_OFF', 'creaseCare': 'CREASECARE_OFF', 'ezSoftenerAmount': 0.0, 'rinseCount': 'NO_RINSE', 'course': 'NOT_SELECTED', 'protocolVersion': 0.0, 'steam': 'STEAM_OFF', 'sterilize': 'STERILIZE_OFF', 'multiStain': 'MULTISTAIN_OFF', 'rinse': 'RINSE_NORMAL', 'loadItemWasher': 'LOADITEM_OFF', 'temp': 'NO_TEMP', 'doorLock': 'DOORLOCK_OFF', 'reserveTimeMinute': 0.0, 'ezCSDetergentSetVal': 'EZCSDT_OFF', 'baseDownloadCourseData': 'NOT_SELECTED', 'TCLCount': 6.0, 'waterPlus': 'WATERPLUS_OFF', 'smartGridEnable': 'SMARTGRIDENABLE_OFF', 'fabricSoftener': 'FABRIC_SOFTENER_OFF', 'saveEnergy': 'SAVE_ENERGY_OFF', 'wifiSDS': 'WIFI_SDS_OFF', 'ezSoftenerState': 'EZCSSO_NOT_EMPTY', 'coolDown': 'COOLDOWN_OFF', 'ecoHybrid': 'ECOHYBRID_OFF', 'voiceState': 'VOICESTATE_OFF', 'doorClose': 'DOORCLOSE_OFF', 'spin': 'NO_SPIN', 'ezDetergentAmount': 0.0, 'waterLevel': 'WATERLEVEL_0', 'soilWash': 'NO_SOILWASH', 'activeStandbyEnable': 'AUTO_STANDBY_OFF', 'coldWash': 'COLDWASH_OFF', 'loadLevel': 'LOAD_AUTO_DETECT'}, 'fwUpgradeInfo': {'upgSched': {'upgUtc': '0', 'cmd': 'none'}}, 'static': {'deviceType': '201', 'countryCode': 'US'}, 'meta': {'allDeviceInfoUpdate': False, 'messageId': 'e9DLa2eiS2yHRPUd_qib8g'}, 'mid': 0.0, 'online': True, 'timestamp': 1705549358031.0}, 'online': True, 'platformType': 'thinq2', 'area': 334505, 'regDt': 20240116005929.0, 'blackboxYn': 'Y', 'modelProtocol': 'courseWasher', 'order': 0, 'drServiceYn': 'N', 'fwInfoList': [{'checksum': '0000B4E6', 'order': 2.0, 'partNumber': 'SAA42476401'}, {'checksum': '0000C814', 'order': 1.0, 'partNumber': 'SAA42102501'}], 'modemInfo': {'appVersion': 'clip_hna_v1.9.195', 'modelName': 'F3P2CYVAT__', 'modemType': 'RTK_RTL8711am', 'oneshot': 'y', 'ruleEngine': 'y', 'size': 1572864.0}, 'guideTypeYn': 'Y', 'guideType': 'TYPE2', 'regDtUtc': '20240116045929', 'regIndex': 0, 'groupableYn': 'N', 'controllableYn': 'N', 'combinedProductYn': 'N', 'masterYn': 'Y', 'pccModelYn': 'Y', 'sdsPid': {'sds4': '', 'sds3': '1012', 'sds2': '', 'sds1': ''}, 'autoOrderYn': 'N', 'initDevice': False, 'existsEntryPopup': 'N', 'tclcount': 0}], 'group': []}} 2024-01-18 03:48:34.547 DEBUG (MainThread) [custom_components.smartthinq_sensors] ThinQ status updated 2024-01-18 03:48:34.548 DEBUG (MainThread) [custom_components.smartthinq_sensors] Finished fetching smartthinq_sensors-LG Washer data in 0.454 seconds (success: True)

ollo69 commented 5 months ago

door_lock is not door_close, if you search for corresponding attribute you should search door_close. door_lock is not provided by your device because not listed in device model_info. I suppose that when you say that door sensor is not reflecting the state is because is not following the HA door logic, but this sensor is on when the door is close (for this is called "door close") Anyway in next release (still not released) I did a couple of change:

ollo69 commented 5 months ago

Just released new version where I implemented changes described above

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stalled for 7 days with no activity.