Add support for Therma V (Air-water Heatpump AWHP)
**Which device do you want to add? Please describe:**
LG Therma V. It's a Air-Water HeatPump monoblock. I have the HM123MR.U34.

- Temperature settings are for air, not for water. E.g. setting the water temperature tot 32 degrees Celsius is not possible, because it stops at 25 degrees Celsius due to restrictions HomeBridge?  
- Also changing from heat (Warmte) to AI (automatic) is not supported. (see picture)
- All sort of info which is in the LG Thinq app about energy use. (see picture)

**Describe the solution you'd like:**
The settings as in the LG Thinq app. (see pictures)

**Device Data:**
``[31/01/2023,   07:47:34] [HB Supervisor] OS: Linux 5.15.84-v7+ arm
[31/01/2023, 07:47:34] [HB Supervisor]   Node.js v18.13.0 /opt/homebridge/bin/node
[31/01/2023, 07:47:34] [HB Supervisor]   Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[31/01/2023, 07:47:34] [HB Supervisor] UI   Path:   /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[31/01/2023, 07:47:46] [Homebridge UI]   Homebridge Config UI X v4.50.2 is listening on :: port 8581
[31/01/2023, 07:47:48] [HB Supervisor]   Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules   -D --strict-plugin-resolution
[31/01/2023, 07:47:48] [HB Supervisor]   Started Homebridge v1.6.0 with PID: 29532
[31/01/2023, 07:47:53] ---
[31/01/2023, 07:47:56] Loaded plugin:   homebridge-lg-thinq@1.3.0
[31/01/2023, 07:47:56] Registering   platform 'homebridge-lg-thinq.LGThinQ'
[31/01/2023, 07:48:14] [LGThinQ]   Initializing LGThinQ platform...
[31/01/2023, 07:48:14] [LGThinQ] Loading   accessory from Homebridge cache: Lucht-water H/P
[31/01/2023, 07:48:15] [LGThinQ] Executed   didFinishLaunching callback
[31/01/2023, 07:48:15] Publishing   external accessory (name: Televisie, publishInfo: {
username: 'EC:BC:A0:09:B8:C6',
pincode: '***-**-***',
category: 31,
port: undefined,
bind: [ 'eth0', [length]: 1 ],
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: undefined
}).
[31/01/2023, 07:48:15] Publishing bridge   accessory (name: Homebridge 8242, publishInfo: {
username: '0E:6C:7C:A3:82:42',
port: 51826,
pincode: '***-**-***',
category: 2,
bind: [ 'eth0', [length]: 1 ],
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: undefined
}).
[31/01/2023, 07:48:17] [LGThinQ]   [request] get   https://route.lgthinq.com:46030/v1/service/application/gateway-uri
[31/01/2023, 07:48:19] [LGThinQ]   [request] post https://kic.lgthinq.com:46030/api/common/gatewayUriList
[31/01/2023, 07:48:21] [LGThinQ]   [request] post https://nl.lgeapi.com/oauth/1.0/oauth2/token
[31/01/2023, 07:48:21] [LGThinQ]   [request] post https://eic.lgthinq.com:46030/api/member/login
[31/01/2023, 07:48:21] [LGThinQ]   [request] get https://nl.lgeapi.com/users/profile
[31/01/2023, 07:48:21] [LGThinQ]   Successfully connected to the ThinQ API.
[31/01/2023, 07:48:22] [LGThinQ]   [request] get https://eic-service.lgthinq.com:46030/v1/service/homes
[31/01/2023, 07:48:22] [LGThinQ]   [request] get   https://eic-service.lgthinq.com:46030/v1/service/homes/160234131941356992
[31/01/2023, 07:48:22] [LGThinQ] Device   data:    {"deviceId":"XXXXXXXXXXXXXXXXX","deviceType":401,"modelName":"AWHP_019101_WW","subModelNm":null,"sensorType":null,"alias":"Lucht-water   H/P","deviceCode":"AI05","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE5","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"XXXXXXXXXXXX","timezoneCode":"Europe/Amsterdam","timezoneCodeAlias":"Europe/Amsterdam","sdsGuide":"{\"deviceCode\":\"AI05\"}","newRegYn":"N","remoteControlType":"REMO_AWHP_WIRED_RS3","fareTarget":null,"area":"871163","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20221230125434000","regIndex":0,"blackboxYn":"Y","groupableYn":"Y","controllableYn":"Y","combinedProductYn":"N","masterYn":"Y","snapshot":{"airState.ess.opStatus":0,"airState.ess.consumeRate":0,"airState.tempState.airTempHeatMin":16,"airState.diagCode":0,"airState.ess.solarPower":0,"airState.tempState.waterTempCoolMin":10,"airState.tempState.airTempCoolMin":16,"mid":1003051594,"airState.energy.onCurrent":27,"airState.quality.sensorMon":0,"airState.ess.batteryStatus":0,"airState.miscFuncState.awhpWaterControl":3,"airState.tempState.target":30,"airState.ess.batteryPower":0,"airState.tempState.hotWaterTempMin":40,"airState.ess.consumePowerExt":0,"airState.operation":1,"airState.tempState.waterTempHeatMax":55,"airState.tempState.airTempCoolMax":30,"timestamp":1675146691371,"static":{"deviceType":"401","countryCode":"NL"},"airState.tempState.hotWaterCurrent":0,"airState.ess.solarPowerExt":0,"airState.tempState.current":19,"airState.tempState.hotWaterTempMax":55,"airState.miscFuncState.awhpTempSwitch":1,"airState.miscFuncState.extraOp":0,"airState.tempState.hotWaterTarget":55,"airState.ess.gridPower":0,"airState.tempState.waterTempHeatMin":20,"airState.ess.energyFlow":0,"airState.miscFuncState.powerHotWater":0,"airState.tempState.airTempHeatMax":30,"meta":{"allDeviceInfoUpdate":false,"messageId":"MbIqupX8SHijJsWITNxILQ"},"airState.ess.batteryRemain":0,"airState.tempState.waterTempCoolMax":24,"airState.miscFuncState.silentAWHP":1,"online":true,"airState.ess.batteryPowerExt":0,"airState.ess.gridPowerExt":0,"airState.miscFuncState.hotWater":0,"airState.opMode":4,"airState.ess.consumePower":0,"airState.ess.energyLevel":0,"airState.tempState.outWaterCurrent":27,"airState.tempState.inWaterCurrent":28},"manufacture":{"inventoryOrg":"DMZ","macAddress":"80:5B:65:XXXXXX","manufactureModel":"ZHBW128A1","manufacturedAt":"2022-12-30T11:55:12+00:00","registeredAt":"2022-12-30T12:55:14.864833+00:00","salesModel":"ZHBW128A1","serialNo":"XXXXXXXXXXX"},"online":true,"platformType":"thinq2","homeDeviceOrder":2,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"16.5","modelJsonUri":"https://objectcontent.lgthinq.com/8ec4319b-b800-435a-ab09-21ac19482591?hdnts=exp=1735481827~hmac=bacfb6b379b9d46e52b801280760dab8e76775b5ea900dc23d0cbb79f8cf1ec3","appModuleVer":"17.78","appModuleUri":"https://objectcontent.lgthinq.com/6f9e5106-2098-4fff-8382-44224a29519d?hdnts=exp=1701394617~hmac=5b9c7381ced9740f199fbe379f86226fcb0dd261953164fbfed15b0d1bf63b7e","appRestartYn":"Y","appModuleSize":"12867303","langPackProductTypeVer":"78.1","langPackProductTypeUri":"https://objectcontent.lgthinq.com/4162b618-c49e-4efb-bdf8-f1d0131c9fc0?hdnts=exp=1737856213~hmac=8991e496d5766d6ec31105bf8aac80c1d4413396a8b84fc1fe7d1fd2abd7dd5a","langPackModelVer":null,"langPackModelUri":null,"roomId":"167243508675733743","fwInfoList":[{"checksum":"0000CB1A","order":1,"partNumber":"SAA42121706"}],"modemInfo":{"appVersion":"clip_hna_v1.9.183","modelName":"AWHP_019101_WW","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":"clip_hna_v1.9.161","subDeviceCount":0,"firebaseLogKey":null,"cardType":"Small","cardControl":"Base","detailDeviceCode":null,"upgradableYn":"N","autoFwDownloadYn":"N"}
[31/01/2023, 07:48:22] [LGThinQ]   [Lucht-water H/P] Setting up device!
[31/01/2023, 07:48:22] [LGThinQ]   Restoring existing accessory: 404b8a77-57b1-13ca-9006-805b65850ccc:   Lucht-water H/P (AC AWHP_019101)
[31/01/2023, 07:48:22]   [homebridge-lg-thinq] This plugin generated a warning from the characteristic   'Heating Threshold Temperature': characteristic was supplied illegal value:   number 30 exceeded maximum of 25. See https://homebridge.io/w/JtMGR for more info.
[31/01/2023, 07:48:22]   [homebridge-lg-thinq] Error:
at HeatingThresholdTemperature.Characteristic.characteristicWarning   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at HeatingThresholdTemperature.Characteristic.validateUserInput   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2927:14)
at HeatingThresholdTemperature.Characteristic.updateValue   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2328:20)
at HeaterCooler.Service.updateCharacteristic   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Service.ts:795:35)
at AirConditioner.updateAccessoryCharacteristic   (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/devices/AirConditioner.ts:226:20)
at LGThinQHomebridgePlatform.discoverDevices   (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/platform.ts:163:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[31/01/2023, 07:48:22]   [homebridge-lg-thinq] This plugin generated a warning from the characteristic   'Current Relative Humidity': characteristic value expected valid finite   number and received "undefined" (undefined). See   https://homebridge.io/w/JtMGR for more info.
[31/01/2023, 07:48:22]   [homebridge-lg-thinq] Error:
at CurrentRelativeHumidity.Characteristic.characteristicWarning   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at CurrentRelativeHumidity.Characteristic.validateUserInput   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2903:14)
at CurrentRelativeHumidity.Characteristic.updateValue   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2328:20)
at HumiditySensor.Service.updateCharacteristic   (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Service.ts:795:35)
at AirConditioner.updateAccessoryCharacteristic   (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/devices/AirConditioner.ts:274:34)
at LGThinQHomebridgePlatform.discoverDevices   (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/platform.ts:163:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[31/01/2023, 07:48:22] [LGThinQ] Start   MQTT listener for thinq2 device
[31/01/2023, 07:48:23] [LGThinQ]   [request] get https://common.lgthinq.com/route
[31/01/2023, 07:48:23] [LGThinQ]   [request] get https://www.amazontrust.com/repository/AmazonRootCA1.pem
[31/01/2023, 07:48:23] [LGThinQ]   [request] post https://eic-service.lgthinq.com:46030/v1/service/users/client
[31/01/2023, 07:48:23] [LGThinQ]   [request] post   https://eic-service.lgthinq.com:46030/v1/service/users/client/certificate
[31/01/2023, 07:48:23] [LGThinQ] open   mqtt connection to ssl://a3phael99lf879-ats.iot.eu-west-1.amazonaws.com:8883
[31/01/2023, 07:48:24] [LGThinQ]   Successfully connected to the MQTT server.
[31/01/2023, 07:48:24] [LGThinQ] mqtt   connected: ssl://a3phael99lf879-ats.iot.eu-west-1.amazonaws.com:8883``

![215691757-9229ef90-a6d6-4929-b246-d41c42f5ca05](https://user-images.githubusercontent.com/9421474/215728962-c61ba94a-339d-4ed6-8abb-9b67401df0d8.png)
![215691792-d584549e-59b4-481e-a81a-2ac927b0cdf2](https://user-images.githubusercontent.com/9421474/215728972-29cf0e62-0b0d-468f-9847-6b814109a69e.png)
![215691824-58e57a79-75cb-4ba9-afea-baa988e372c5](https://user-images.githubusercontent.com/9421474/215728974-0c7ee898-d916-431e-9290-9a12fa918dba.png)
![215691862-3960f937-fe8b-4c6a-b53f-ce80ac53e938](https://user-images.githubusercontent.com/9421474/215728977-0cf557b7-4434-40a8-84b4-076580d90623.png)
![215691892-32994fba-c19f-42df-bfe2-b6eb2fe808d2](https://user-images.githubusercontent.com/9421474/215728978-55e284ab-35f6-4ff6-b2f5-98de94118c04.png)

Thanks!