ollo69 / ha-smartthinq-sensors

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

Support for smart grid demand response, energy monitoring, and fresh air filter #347

Open glenviewjeff opened 2 years ago

glenviewjeff commented 2 years ago

Is your feature request related to a problem? Please describe. I'd like to be able to enable the demand-response mode when electricity prices are high. The feature seems to be available in the config file via "SMARTGRID_DR_ON"

Describe the solution you'd like I would like to have switch controls to enable/disable demand-response events.

Additional context Besides this, there are a few other features for my refrigerator available in the LG app that don't seem to be available in the integration. There's a fresh-air filter mode control as well as energy usage monitoring. These would be great if accessible via the integration as well.

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.6.7", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.12", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "5.15.45", "supervisor": "2022.05.3", "host_os": "Home Assistant OS 8.2", "docker_version": "20.10.14", "chassis": "vm", "run_as_root": true }, "custom_components": { "smartthinq_sensors": { "version": "0.23.1", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "chardet>=4.0.0" ] } }, "integration_manifest": { "domain": "smartthinq_sensors", "name": "SmartThinQ LGE Sensors", "documentation": "https://github.com/ollo69/ha-smartthinq-sensors", "issue_tracker": "https://github.com/ollo69/ha-smartthinq-sensors/issues", "dependencies": [], "codeowners": [ "@ollo69" ], "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "chardet>=4.0.0" ], "config_flow": true, "iot_class": "cloud_polling", "version": "0.23.1", "is_built_in": false }, "data": { "entry": { "entry_id": "d5918991ecff8e7b295f714d826b23ef", "version": 1, "domain": "smartthinq_sensors", "title": "LGE Devices", "data": { "region": "US", "language": "en-US", "token": "**REDACTED**", "outh_url": "https://us.lgeapi.com/", "use_api_v2": true }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": null, "disabled_by": null }, "lge_devices": { "REFRIGERATOR": { "REFRIGERATOR:redacted": { "device_info": { "appType": "NUTS", "modelCountryCode": "WW", "countryCode": "US", "modelName": "2REF11EII__M2", "deviceType": 101, "deviceCode": "KI0102", "alias": "Refrigerator", "deviceId": "689688ab-3848-1e0c-af05-4cbce9e481f8", "fwVer": "", "imageFileName": "home_appliances_img_fridge.png", "imageUrl": "https://objectcontent.lgthinq.com/af46bfb8-048b-4cb7-ab15-93ba970803f8?hdnts=exp=1701590413~hmac=ec5166729a0b4647578f3c34497ffb169cd954e6aa3b1048b336603daf734b17", "smallImageUrl": "https://objectcontent.lgthinq.com/de2f76ea-0b74-4ff9-9846-a9f56d6cf64d?hdnts=exp=1701590413~hmac=622ad57b30a7c13a53dd7bf376fce8c79cb0be6808ab8710254cf3b7f6a33d58", "ssid": "**REDACTED**", "softapId": "", "softapPass": "", "macAddress": "", "networkType": "02", "timezoneCode": "America/New_York", "timezoneCodeAlias": "USA/New_York", "utcOffset": -5, "utcOffsetDisplay": "-05:00", "dstOffset": -4, "dstOffsetDisplay": "-04:00", "curOffset": -4, "curOffsetDisplay": "-04:00", "sdsGuide": "{\"deviceCode\":\"KI01\"}", "newRegYn": "N", "remoteControlType": "", "userNo": "**REDACTED**", "tftYn": "N", "modelJsonVer": 1.06, "modelJsonUri": "https://objectcontent.lgthinq.com/aa6380b5-dcf0-4cda-99b3-c8ce2cbb9491?hdnts=exp=1688108788~hmac=66e1f5b49a23eb324574aaf5cf2a01194fe7c240f96ec1e36be728ed760d19af", "appModuleVer": 222.09, "appModuleUri": "https://objectcontent.lgthinq.com/75e0414f-1836-44bf-9ed6-604145b93216?hdnts=exp=1695880826~hmac=0499b82948ce9a657570c0a9f70a185d86eb35cf32b71eb01d026bca4951ce25", "appRestartYn": "Y", "appModuleSize": 1563441, "langPackProductTypeVer": 55.4, "langPackProductTypeUri": "https://objectcontent.lgthinq.com/9b44a82e-aa15-431a-9c19-7a1df58df981?hdnts=exp=1719037430~hmac=a136e2c98ab51f280f2d51892c028d355442c20bc33bc776eddc4b8bed2ba6c9", "deviceState": "E", "snapshot": { "fwUpgradeInfo": { "upgSched": { "upgUtc": "0", "cmd": "none" } }, "static": { "deviceType": "101", "countryCode": "US" }, "meta": { "allDeviceInfoUpdate": false, "messageId": "NaDauwmaSHK_YAM1eMqV4w" }, "mid": 2945619723.0, "online": true, "refState": { "displayLock": "IGNORE", "freezerTemp": 8.0, "sabbathMode": "OFF", "tempUnit": "FAHRENHEIT", "ecoFriendly": "IGNORE", "activeSaving": "IGNORE", "smartSavingRun": "STOP", "atLeastOneDoorOpen": "CLOSE", "fridgeTemp": 10.0, "expressMode": "OFF", "freshAirFilter": "AUTO", "monStatus": "NORMAL", "smartSavingMode": "SMARTGRID_DD_ON", "convertibleTemp": 255.0, "waterFilter": "1_MONTH" }, "timestamp": 1656335091965.0 }, "online": true, "platformType": "thinq2", "area": 334505, "regDt": 20220503204850.0, "blackboxYn": "Y", "modelProtocol": "STANDARD", "order": 0, "drServiceYn": "N", "fwInfoList": [ { "checksum": "012F155A", "order": 2.0, "partNumber": "SAA42628701" }, { "checksum": "00000FA7", "order": 1.0, "partNumber": "SAA42624101" } ], "modemInfo": { "appVersion": "clip_hna_v1.9.168", "modelName": "2REF11EII__M2", "modemType": "RTK_RTL8711am", "oneshot": "y", "ruleEngine": "y", "size": 1572864.0 }, "guideTypeYn": "Y", "guideType": "TYPE1", "regDtUtc": "20220504004850", "regIndex": 0, "groupableYn": "N", "controllableYn": "N", "combinedProductYn": "N", "masterYn": "Y", "pccModelYn": "Y", "sdsPid": { "sds4": "", "sds3": "", "sds2": "", "sds1": "" }, "autoOrderYn": "N", "initDevice": false, "existsEntryPopup": "N", "tclcount": 0 }, "model_info": { "Info": { "productType": "REF", "country": "WW", "modelType": "FD", "model": "T20_20 Majesty 1", "modelName": "2REF11EII__M2", "networkType": "WIFI", "version": "1.06" }, "Module": { "WPM": { "GRM_CEN01_Main": "201", "GRM_CEN02_UserSaving": "202", "GRM_CEN04_RefViewer": "202", "GRM_CEN05_ImgViewer": "202", "GRM_FOD01_Main": "201", "GRM_FOD02_EditFoodInfo": "201", "GRM_FOD03_EditFoodIcon": "201", "GRM_FOD04_AddFood": "201", "GRM_ENM01_Main": "201", "GRM_ENM02_DoorOpenings": "201", "GRM_ENM03_PowerConsume": "201", "GRM_ENM04_SetSaving": "202", "GRM_ECO01_Main": "201", "GRM_ECO02_Active": "201", "GRM_ECO03_SavingRatio": "201", "GRM_ECO04_SavingDetail": "201", "GRM_ECO05_ViewTip": "201", "GCM_SDS01_SdsMain": "201", "GRM_FOT01_Main": "201", "GRM_SET01_Main": "201", "GRM_SET02_PushList": "201", "GRM_SMC01_Main": "201", "GRM_SMC02_SafeStore": "201", "GRM_SMC03_ActiveCooling": "201", "GRM_PHO01_Main": "201", "GRM_SHO01_Main": "201" }, "Menu": [ "GRM_ENM01_Main", "GCM_SDS01_SdsMain", "GRM_SET01_Main" ] }, "Config": { "targetRoot": "refState", "ignoreValue": { "key": "IGNORE", "index": -99 }, "replaceStateValue": "@RE_STATE_REPLACE_FILTER_W", "wifiDiagnosis": "true", "hasInsideView": false, "fota": "true", "hasdoor": "Y", "blackBox": "Y", "hasExchangables": { "_comment": "\uad50\uccb4\ud615 \ud544\ud130\uac00 \uc788\ub294 \ubaa8\ub378\uc5d0 \ub300\ud574 hasExchangables \uac1d\uccb4\ub97c \ucd94\uac00\ud55c\ub2e4.", "value": true, "showAutoOrder": false }, "supportFoodManager": true, "smartCare": { "useActiveCooling": false, "useSmartStorage": false, "useActiveSavings": false }, "sideMenuInfo": { "GRM_FOD01_Main": { "title": "@RE_FOOD_MANAGEMENT_W", "image": "image/ref_sidemenu_btn_foodmanager.png" }, "GRM_ENM01_Main": { "title": "@RE_ENM_TITLE_W", "image": "image/ref_sidemenu_btn_energymonitoring.png" }, "GCM_SDS01_SdsMain": { "title": "@CP_NAME_SMART_DIAGNOSIS_W", "image": "image/ref_sidemenu_btn_smart_diagnosis.png" }, "GRM_SET01_Main": { "title": "@CP_SETTING_W", "image": "image/ref_sidemenu_btn_setting.png" }, "GRM_ECO01_Main": { "title": "@RE_ENM_TITLE_W", "image": "wpm/GRM/image/ref_sidemenu_btn_energymonitoring.png" }, "GRM_SMC01_Main": { "title": "@RE_SMARTCARE_RUN_W", "image": "wpm/GRM/image/ref_sidemenu_btn_smartcare.png" }, "GRM_PHO01_Main": { "title": "@RE_PHOTO_SEND_W", "image": "wpm/GRM/image/ref_sidemenu_btn_photosend.png" }, "GRM_SHO01_Main": { "title": "@RE_GROCERY_LIST_W", "image": "wpm/GRM/image/ref_sidemenu_btn_shopping.png" } }, "visibleItems": [ { "feature": "fridgeTemp", "imageUrl": "", "monTitle": "@RE_TERM_REFRIGERATOR_W", "controlTitle": "@RE_TERM_REFRIGERATOR_W", "controlDisabledOption": [ { "optionValue": "@CP_OFF_EN_W", "replaceOptionValue": "IGNORE" } ] }, { "feature": "freezerTemp", "imageUrl": "", "monTitle": "@RE_TERM_FREEZER_W", "controlTitle": "@RE_TERM_FREEZER_W", "controlDisabledOption": [ { "optionValue": "@CP_OFF_EN_W", "replaceOptionValue": "IGNORE" } ] }, { "feature": "freshAirFilter", "imageUrl": "image/icon_fridge_fresh.png", "monTitle": "@RE_NEW_TERM_FRESH_AIR_FILTER_W", "controlTitle": "@RE_NEW_TERM_FRESH_AIR_FILTER_W", "templateType": "typeButton.html" }, { "feature": "expressMode", "imageUrl": "image/icon_fridge_ice.png", "monTitle": "@RE_TERM_ICE_PLUS_W", "controlTitle": "@RE_TERM_ICE_PLUS_W", "templateType": "typeSwitch.html" }, { "feature": "waterFilter", "imageUrl": "image/ref_home_ic_waterfilter.png", "monTitle": "@RE_NEW_TERM_WATER_FILTER_W", "controlTitle": "@RE_NEW_TERM_WATER_FILTER_W", "templateType": "NONE" }, { "feature": "smartSavingMode", "imageUrl": "wpm/GRM/image/ref_home_ic_smartsaving.png", "monTitle": "@RE_TERM_SMARTSAVING_W", "controlTitle": "@RE_TERM_SMARTSAVING_W", "templateType": "typeSmartGrid.html" } ] }, "MonitoringValue": { "monStatus": { "_comment": "Monitoring Status _ Not Shown Item", "dataType": "enum", "default": "NORMAL", "visibleItem": { "monitoringIndex": [ 0, 1, 2 ], "controlIndex": [ 0, 1, 2 ] }, "valueMapping": { "FAIL": { "index": 0, "label": "", "_comment": "Fail" }, "NOT_WORK": { "index": 1, "label": "", "_comment": "Not working" }, "NORMAL": { "index": 2, "label": "", "_comment": "Normal" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "fridgeTemp": { "_comment": "Fridge Target Temperature", "dataType": "range", "default": 1, "visibleItem": { "monitoringIndex": [], "controlIndex": [] }, "targetKey": { "tempUnit": { "CELSIUS": "fridgeTemp_C", "FAHRENHEIT": "fridgeTemp_F" } }, "valueMapping": { "min": 0, "max": 255, "step": 1 } }, "freezerTemp": { "_comment": "Freezer Target Temperature", "dataType": "range", "default": 1, "visibleItem": { "monitoringIndex": [], "controlIndex": [] }, "targetKey": { "tempUnit": { "CELSIUS": "freezerTemp_C", "FAHRENHEIT": "freezerTemp_F" } }, "valueMapping": { "min": 0, "max": 255, "step": 1 } }, "convertibleTemp": { "_comment": "Convertible Target Temperature", "dataType": "range", "default": 1, "visibleItem": { "monitoringIndex": [], "controlIndex": [] }, "targetKey": { "tempUnit": { "CELSIUS": "convertibleTemp_C", "FAHRENHEIT": "convertibleTemp_F" } }, "valueMapping": { "min": 0, "max": 255, "step": 1 } }, "expressMode": { "_comment": "Express Fridge, ExpressFreeze, Rapid Freeze", "dataType": "enum", "default": "OFF", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [ 0, 1 ] }, "valueMapping": { "OFF": { "index": 0, "label": "@CP_OFF_EN_W", "_comment": "Express Mode OFF" }, "EXPRESS_ON": { "index": 1, "label": "@CP_ON_EN_W", "_comment": "Express Fridge or Express Freeze ON" }, "RAPID_ON": { "index": 2, "label": "@RE_MAIN_SPEED_FREEZE_TERM_W", "_comment": "Rapid Freeze ON" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "tempUnit": { "_comment": "Temperature Unit", "dataType": "enum", "default": "FAHRENHEIT", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "CELSIUS": { "index": 0, "label": "\u02daC", "_comment": "Celsius Unit" }, "FAHRENHEIT": { "index": 1, "label": "\u02daF", "_comment": "Fahrenheit Unit" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "freshAirFilter": { "_comment": "Fresh Air Filter Status", "dataType": "enum", "default": "OFF", "visibleItem": { "monitoringIndex": [ 0, 1, 2, 3 ], "controlIndex": [ 1, 2 ] }, "valueMapping": { "OFF": { "index": 0, "label": "@CP_TERM_OFF_KO_W", "_comment": "Fresh Air Filter OFF" }, "AUTO": { "index": 1, "label": "@RE_STATE_FRESH_AIR_FILTER_MODE_AUTO_W", "_comment": "Fresh Air Filter AUTO" }, "POWER": { "index": 2, "label": "@RE_STATE_FRESH_AIR_FILTER_MODE_POWER_W", "_comment": "Fresh Air Filter POWER" }, "REPLACE": { "index": 3, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Fresh Air Filter REPLACE" }, "SMART_STORAGE_POWER": { "index": 4, "label": "", "_comment": "Fresh Air Filter Smart Storage POWER" }, "SMART_STORAGE_OFF": { "index": 5, "label": "", "_comment": "Fresh Air Filter Smart Storage OFF" }, "SMART_STORAGE_ON": { "index": 6, "label": "", "_comment": "Fresh Air Filter Smart Storage ON" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "waterFilter": { "_comment": "Water Filter Status", "dataType": "enum", "default": "0_MONTH", "visibleItem": { "monitoringIndex": [ 0, 1, 2, 3, 4, 5, 6 ], "controlIndex": [] }, "valueMapping": { "0_MONTH": { "index": 0, "label": "@RE_TERM_OK_W", "_comment": "Water Filter 0 Month Passed" }, "1_MONTH": { "index": 1, "label": "@RE_TERM_OK_W", "_comment": "Water Filter 1 Month Passed" }, "2_MONTH": { "index": 2, "label": "@RE_TERM_OK_W", "_comment": "Water Filter 2 Month Passed" }, "3_MONTH": { "index": 3, "label": "@RE_TERM_OK_W", "_comment": "Water Filter 3 Month Passed" }, "4_MONTH": { "index": 4, "label": "@RE_TERM_OK_W", "_comment": "Water Filter 4 Month Passed" }, "5_MONTH": { "index": 5, "label": "@RE_TERM_OK_W", "_comment": "Water Filter 5 Month Passed" }, "6_MONTH": { "index": 6, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 6 Month Passed" }, "7_MONTH": { "index": 7, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 7 Month Passed" }, "8_MONTH": { "index": 8, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 8 Month Passed" }, "9_MONTH": { "index": 9, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 9 Month Passed" }, "10_MONTH": { "index": 10, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 10 Month Passed" }, "11_MONTH": { "index": 11, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 11 Month Passed" }, "12_MONTH": { "index": 12, "label": "@RE_STATE_REPLACE_FILTER_W", "_comment": "Water Filter 12 Month Passed" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "displayLock": { "_comment": "Display Lock Status(unlock, lock)", "dataType": "enum", "default": "UNLOCK", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "UNLOCK": { "index": 0, "label": "", "_comment": "Display Panel Unlocked" }, "LOCK": { "index": 1, "label": "", "_comment": "Display Panel Locked" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "sabbathMode": { "_comment": "Sabbath Mode State (ON, OFF)", "dataType": "enum", "default": "OFF", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "OFF": { "index": 0, "label": "@CP_OFF_EN_W", "_comment": "Sabbath Mode OFF" }, "ON": { "index": 1, "label": "@CP_ON_EN_W", "_comment": "Sabbath Mode ON" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "atLeastOneDoorOpen": { "_comment": "Door Open State(Close or Open) global", "dataType": "enum", "default": "CLOSE", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "CLOSE": { "index": 0, "label": "", "_comment": "Door Closed" }, "OPEN": { "index": 1, "label": "", "_comment": "Door Open" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "smartSavingMode": { "_comment": "Smart Saving Setting Status", "dataType": "enum", "default": "OFF", "visibleItem": { "monitoringIndex": [ 0, 3, 4 ], "controlIndex": [ 0, 3, 4 ] }, "valueMapping": { "OFF": { "index": 0, "label": "@CP_OFF_EN_W", "_comment": "Smart Saving OFF" }, "NIGHT_ON": { "index": 1, "label": "@RE_SMARTSAVING_MODE_NIGHT_W", "_comment": "Smart Saving Night Mode ON" }, "CUSTOM_ON": { "index": 2, "label": "@RE_SMARTSAVING_MODE_CUSTOM_W", "_comment": "Smart Saving Custom Mode ON" }, "SMARTGRID_DR_ON": { "index": 3, "label": "@RE_TERM_DEMAND_RESPONSE_FUNCTIONALITY_W", "_comment": "Smart Grid Demand Response Mode ON" }, "SMARTGRID_DD_ON": { "index": 4, "label": "@RE_TERM_DELAY_DEFROST_CAPABILITY_W", "_comment": "Smart Grid Delay Defrost Mode ON" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "smartSavingRun": { "_comment": "Smart Saving Running Status", "dataType": "enum", "default": "STOP", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "STOP": { "index": 0, "label": "@CP_OFF_EN_W", "_comment": "Smart Saving Stop (Smart Grid)" }, "RUN": { "index": 1, "label": "@CP_ON_EN_W", "_comment": "Smart Saving Running (Smart Grid)" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "activeSaving": { "_comment": "Active Saving Status", "dataType": "enum", "default": "OFF", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "OFF": { "index": 0, "label": "@CP_OFF_EN_W", "_comment": "Active Saving OFF" }, "ON": { "index": 1, "label": "@CP_ON_EN_W", "_comment": "Active Saving ON" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "ecoFriendly": { "_comment": "Eco Friendly Status", "dataType": "enum", "default": "OFF", "visibleItem": { "monitoringIndex": [ 0, 1 ], "controlIndex": [] }, "valueMapping": { "OFF": { "index": 0, "label": "@CP_OFF_EN_W", "_comment": "Eco Friendly OFF" }, "ON": { "index": 1, "label": "@CP_ON_EN_W", "_comment": "Eco Friendly ON" }, "IGNORE": { "index": 255, "label": "", "_comment": "Please ignore me" } } }, "fridgeTemp_C": { "dataType": "enum", "default": "1", "_comment": "Temperature Unit :\u2109 or \u2103 ", "visibleItem": { "monitoringIndex": [ 1, 3, 5, 7, 9, 10, 12, 14 ], "controlIndex": [ 1, 3, 5, 7, 9, 10, 12, 14 ] }, "valueMapping": { "1": { "index": 1, "label": "8", "_comment": "" }, "3": { "index": 3, "label": "7", "_comment": "" }, "5": { "index": 5, "label": "6", "_comment": "" }, "7": { "index": 7, "label": "5", "_comment": "" }, "9": { "index": 9, "label": "4", "_comment": "" }, "10": { "index": 10, "label": "3", "_comment": "" }, "12": { "index": 12, "label": "2", "_comment": "" }, "14": { "index": 14, "label": "1", "_comment": "" }, "255": { "index": 255, "label": "IGNORE", "_comment": "" } } }, "fridgeTemp_F": { "dataType": "enum", "default": "1", "_comment": "Temperature Unit :\u2109 or \u2103 ", "visibleItem": { "monitoringIndex": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 ], "controlIndex": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 ] }, "valueMapping": { "1": { "index": 1, "label": "46", "_comment": "" }, "2": { "index": 2, "label": "45", "_comment": "" }, "3": { "index": 3, "label": "44", "_comment": "" }, "4": { "index": 4, "label": "43", "_comment": "" }, "5": { "index": 5, "label": "42", "_comment": "" }, "6": { "index": 6, "label": "41", "_comment": "" }, "7": { "index": 7, "label": "40", "_comment": "" }, "8": { "index": 8, "label": "39", "_comment": "" }, "9": { "index": 9, "label": "38", "_comment": "" }, "10": { "index": 10, "label": "37", "_comment": "" }, "11": { "index": 11, "label": "36", "_comment": "" }, "12": { "index": 12, "label": "35", "_comment": "" }, "13": { "index": 13, "label": "34", "_comment": "" }, "14": { "index": 14, "label": "33", "_comment": "" }, "255": { "index": 255, "label": "IGNORE", "_comment": "" } } }, "freezerTemp_C": { "dataType": "enum", "default": "1", "_comment": "Temperature Unit :\u2109 or \u2103 ", "visibleItem": { "monitoringIndex": [ 1, 2, 3, 5, 7, 9, 11, 12, 13 ], "controlIndex": [ 1, 2, 3, 5, 7, 9, 11, 12, 13 ] }, "valueMapping": { "1": { "index": 1, "label": "-13", "_comment": "" }, "2": { "index": 2, "label": "-14", "_comment": "" }, "3": { "index": 3, "label": "-15", "_comment": "" }, "5": { "index": 5, "label": "-16", "_comment": "" }, "7": { "index": 7, "label": "-17", "_comment": "" }, "9": { "index": 9, "label": "-18", "_comment": "" }, "11": { "index": 11, "label": "-19", "_comment": "" }, "12": { "index": 12, "label": "-20", "_comment": "" }, "13": { "index": 13, "label": "-21", "_comment": "" }, "255": { "index": 255, "label": "IGNORE", "_comment": "" } } }, "freezerTemp_F": { "dataType": "enum", "default": "1", "_comment": "Temperature Unit :\u2109 or \u2103 ", "visibleItem": { "monitoringIndex": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 ], "controlIndex": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 ] }, "valueMapping": { "1": { "index": 1, "label": "8", "_comment": "" }, "2": { "index": 2, "label": "6", "_comment": "" }, "3": { "index": 3, "label": "5", "_comment": "" }, "4": { "index": 4, "label": "4", "_comment": "" }, "5": { "index": 5, "label": "3", "_comment": "" }, "6": { "index": 6, "label": "2", "_comment": "" }, "7": { "index": 7, "label": "1", "_comment": "" }, "8": { "index": 8, "label": "0", "_comment": "" }, "9": { "index": 9, "label": "-1", "_comment": "" }, "10": { "index": 10, "label": "-2", "_comment": "" }, "11": { "index": 11, "label": "-3", "_comment": "" }, "12": { "index": 12, "label": "-4", "_comment": "" }, "13": { "index": 13, "label": "-6", "_comment": "" }, "255": { "index": 255, "label": "IGNORE", "_comment": "" } } }, "convertibleTemp_C": { "dataType": "enum", "default": "1", "_comment": "Temperature Unit :\u2109 or \u2103 ", "visibleItem": { "monitoringIndex": [ 0, 1, 2, 3, 5, 7, 9, 11, 12, 13 ], "controlIndex": [] }, "valueMapping": { "0": { "index": 0, "label": "-13", "_comment": "" }, "1": { "index": 1, "label": "-13", "_comment": "" }, "2": { "index": 2, "label": "-14", "_comment": "" }, "3": { "index": 3, "label": "-15", "_comment": "" }, "5": { "index": 5, "label": "-16", "_comment": "" }, "7": { "index": 7, "label": "-17", "_comment": "" }, "9": { "index": 9, "label": "-18", "_comment": "" }, "11": { "index": 11, "label": "-19", "_comment": "" }, "12": { "index": 12, "label": "-20", "_comment": "" }, "13": { "index": 13, "label": "-21", "_comment": "" }, "255": { "index": 255, "label": "IGNORE", "_comment": "" } } }, "convertibleTemp_F": { "dataType": "enum", "default": "1", "_comment": "Temperature Unit :\u2109 or \u2103 ", "visibleItem": { "monitoringIndex": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 ], "controlIndex": [] }, "valueMapping": { "0": { "index": 0, "label": "8", "_comment": "" }, "1": { "index": 1, "label": "8", "_comment": "" }, "2": { "index": 2, "label": "6", "_comment": "" }, "3": { "index": 3, "label": "5", "_comment": "" }, "4": { "index": 4, "label": "4", "_comment": "" }, "5": { "index": 5, "label": "3", "_comment": "" }, "6": { "index": 6, "label": "2", "_comment": "" }, "7": { "index": 7, "label": "1", "_comment": "" }, "8": { "index": 8, "label": "0", "_comment": "" }, "9": { "index": 9, "label": "-1", "_comment": "" }, "10": { "index": 10, "label": "-2", "_comment": "" }, "11": { "index": 11, "label": "-3", "_comment": "" }, "12": { "index": 12, "label": "-4", "_comment": "" }, "13": { "index": 13, "label": "-6", "_comment": "" }, "255": { "index": 255, "label": "IGNORE", "_comment": "" } } }, "smartSavingModeCustomOpt": { "dataType": "string" } }, "ControlWifi": { "basicCtrl": { "command": "Set", "data": { "refState": { "fridgeTemp": "{{fridgeTemp}}", "fridgeDoorOpen": "{{fridgeDoorOpen}}", "freezerTemp": "{{freezerTemp}}", "freezerDoorOpen": "{{freezerDoorOpen}}", "convertibleTemp": "{{convertibleTemp}}", "convertibleDoorOpen": "{{convertibleDoorOpen}}", "didDoorOpen": "{{didDoorOpen}}", "smartSavingMode": "{{smartSavingMode}}", "smartSavingRun": "{{smartSavingRun}}", "activeSaving": "{{activeSaving}}", "ecoFriendly": "{{ecoFriendly}}", "expressMode": "{{expressMode}}", "tempUnit": "{{tempUnit}}", "freshAirFilter": "{{freshAirFilter}}", "waterFilter": "{{waterFilter}}", "displayLock": "{{displayLock}}", "sabbathMode": "{{sabbathMode}}", "atLeastOneDoorOpen": "{{atLeastOneDoorOpen}}" } } } }, "Push": [ { "category": "PUSH_REF_STATE", "label": "@RE_SETTING_PUSH_PRODUCT_STATE_W", "groupCode": "10101" } ], "SmartMode": { "MODE010": { "_comment": "MODE_HOME_OUT", "actionName": "@CP_TERM_DELAY_DEFROST_ON_W", "control": [ { "ctrlKey": "basicCtrl", "command": "Set", "dataSetList": { "refState": { "smartSavingMode": "SMARTGRID_DD_ON" } } } ] }, "MODE030": { "_comment": "MODE_VACATION", "actionName": "@CP_TERM_DELAY_DEFROST_ON_W", "control": [ { "ctrlKey": "basicCtrl", "command": "Set", "dataSetList": { "refState": { "smartSavingMode": "SMARTGRID_DD_ON" } } } ] }, "MODE040": { "_comment": "MODE_SLEEP", "actionName": "@CP_TERM_DELAY_DEFROST_ON_W", "control": [ { "ctrlKey": "basicCtrl", "command": "Set", "dataSetList": { "refState": { "smartSavingMode": "SMARTGRID_DD_ON" } } } ] } } }, "device_status": { "displayLock": "IGNORE", "freezerTemp": 8.0, "sabbathMode": "OFF", "tempUnit": "FAHRENHEIT", "ecoFriendly": "IGNORE", "activeSaving": "IGNORE", "smartSavingRun": "STOP", "atLeastOneDoorOpen": "CLOSE", "fridgeTemp": 10.0, "expressMode": "OFF", "freshAirFilter": "AUTO", "monStatus": "NORMAL", "smartSavingMode": "SMARTGRID_DD_ON", "convertibleTemp": 255.0, "waterFilter": "1_MONTH" }, "home_assistant": { "name": "Refrigerator", "name_by_user": null, "model": "2REF11EII__M2-FD (REFRIGERATOR)", "manufacturer": "LG", "sw_version": "clip_hna_v1.9.168", "disabled": false, "disabled_by": null, "entities": { "binary_sensor.refrigerator_door_open": { "name": null, "original_name": "Refrigerator Door open", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": "door", "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "state": "off", "attributes": { "device_class": "door", "friendly_name": "Refrigerator Door open" }, "last_changed": "2022-06-27T16:06:54.134081+00:00", "last_updated": "2022-06-27T16:06:54.134081+00:00" } }, "climate.refrigerator_fridge": { "name": null, "original_name": "Refrigerator Fridge", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": "mdi:fridge-top", "unit_of_measurement": null, "state": { "state": "auto", "attributes": { "hvac_modes": [ "auto" ], "min_temp": 33, "max_temp": 46, "target_temp_step": 1, "current_temperature": 37, "temperature": 37, "icon": "mdi:fridge-top", "friendly_name": "Refrigerator Fridge", "supported_features": 1 }, "last_changed": "2022-06-27T16:06:54.134855+00:00", "last_updated": "2022-06-27T16:07:24.494069+00:00" } }, "climate.refrigerator_freezer": { "name": null, "original_name": "Refrigerator Freezer", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": "mdi:fridge-bottom", "unit_of_measurement": null, "state": { "state": "auto", "attributes": { "hvac_modes": [ "auto" ], "min_temp": -6, "max_temp": 8, "target_temp_step": 1, "current_temperature": 0, "temperature": 0, "icon": "mdi:fridge-bottom", "friendly_name": "Refrigerator Freezer", "supported_features": 1 }, "last_changed": "2022-06-27T16:06:54.135302+00:00", "last_updated": "2022-06-27T16:07:24.494307+00:00" } }, "sensor.refrigerator": { "name": null, "original_name": "Refrigerator", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": "mdi:fridge-outline", "unit_of_measurement": null, "state": { "state": "on", "attributes": { "fridge_temp": "37", "freezer_temp": "0", "temp_unit": "\u00b0F", "door_open": "off", "ice_plus": "off", "smart_saving_mode": "Seasonal Energy Saver", "fresh_air_filter": "Auto", "water_filter_used_month": "1", "icon": "mdi:fridge-outline", "friendly_name": "Refrigerator" }, "last_changed": "2022-06-27T16:06:54.135867+00:00", "last_updated": "2022-06-27T16:06:54.135867+00:00" } }, "sensor.refrigerator_fridge_temp": { "name": null, "original_name": "Refrigerator Fridge temp", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": "temperature", "icon": null, "original_icon": null, "unit_of_measurement": "\u00b0F", "state": { "state": "37", "attributes": { "state_class": "measurement", "unit_of_measurement": "\u00b0F", "device_class": "temperature", "friendly_name": "Refrigerator Fridge temp" }, "last_changed": "2022-06-27T16:06:54.136249+00:00", "last_updated": "2022-06-27T16:06:54.136249+00:00" } }, "sensor.refrigerator_freezer_temp": { "name": null, "original_name": "Refrigerator Freezer temp", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": "temperature", "icon": null, "original_icon": null, "unit_of_measurement": "\u00b0F", "state": { "state": "0", "attributes": { "state_class": "measurement", "unit_of_measurement": "\u00b0F", "device_class": "temperature", "friendly_name": "Refrigerator Freezer temp" }, "last_changed": "2022-06-27T16:06:54.136645+00:00", "last_updated": "2022-06-27T16:06:54.136645+00:00" } }, "switch.refrigerator_express_mode": { "name": null, "original_name": "Refrigerator Express mode", "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": "switch", "icon": null, "original_icon": "mdi:snowflake", "unit_of_measurement": null, "state": { "state": "off", "attributes": { "device_class": "switch", "icon": "mdi:snowflake", "friendly_name": "Refrigerator Express mode" }, "last_changed": "2022-06-27T16:06:54.137038+00:00", "last_updated": "2022-06-27T16:06:54.137038+00:00" } } } } } } } } }

github-actions[bot] commented 2 years 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.

glenviewjeff commented 2 years ago

Bump

github-actions[bot] commented 1 year 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 1 year ago

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

github-actions[bot] commented 1 year 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.