LG AC - Can't control fan speed/strenght - RAC_056905_WW
**Describe The Bug:**
I have an LG Air Conditioning model RAC_056905_WW. I set it up everything and it all works great, the problem is when I try to control the fan through Home App. I adjust the slider, it registers on homebridge logs, but nothing happens. I tried enabling Thinq1, but the problem persists. These logs are with Thinq1 enabled.

**To Reproduce:**
After setting up the plugin, try to change fan speed on Home App.

**Expected behavior:**
Change fan speed acordding to whats set on the slider.

**Logs:**

**Device data**
```
[37m[04/10/2023, 15:19:36] [39m[36m[LGThinQ][39m [90mDevice data:  {"modelAppType":"NUTS","brandType":"common","deviceId":"6c5b0a3f-dc02-1605-876a-44cb8bad794f","deviceType":401,"modelName":"RAC_056905_WW","subModelNm":null,"sensorType":null,"alias":"Ar condicionado do quarto","deviceCode":"AI01","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"RAC_TYPE1","pccModelYn":"Y","autoOrderYn":"N","drServiceYn":"N","ssid":"Hyacinth House","timezoneCode":"America/Sao_Paulo","timezoneCodeAlias":"Brazil/Sao Paulo","sdsGuide":"{\"deviceCode\":\"AI01\"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"36369","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20201028193338000","regIndex":0,"blackboxYn":"Y","groupableYn":"Y","controllableYn":"Y","combinedProductYn":"N","masterYn":"Y","snapshot":{"airState.windStrength":2,"airState.wMode.lowHeating":0,"airState.diagCode":0,"airState.lightingState.displayControl":0,"airState.wDir.hStep":0,"mid":36380949,"airState.energy.onCurrent":570,"airState.wMode.airClean":0,"airState.quality.sensorMon":0,"airState.miscFuncState.antiBugs":0,"airState.tempState.target":22,"airState.miscFuncState.autoDryRemainTime":0,"airState.operation":1,"airState.wMode.jet":0,"airState.wDir.vStep":1,"timestamp":1696443552271,"airState.powerSave.basic":0,"airState.quality.PM10":0,"static":{"deviceType":"401","countryCode":"BR"},"airState.quality.overall":0,"airState.tempState.current":26,"airState.miscFuncState.extraOp":0,"airState.reservation.sleepTime":0,"airState.miscFuncState.autoDry":0,"airState.reservation.targetTimeToStart":0,"meta":{"allDeviceInfoUpdate":false,"messageId":"Q4kBB2SaRBedZBpHK_C3aA"},"airState.quality.PM1":0,"airState.wMode.smartCare":0,"airState.quality.PM2":0,"online":true,"airState.opMode":0,"airState.reservation.targetTimeToStop":0,"airState.filterMngStates.maxTime":0,"airState.filterMngStates.useTime":0},"manufacture":null,"online":true,"platformType":"thinq2","homeDeviceOrder":1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"13.65","modelJsonUri":"https://objectcontent.lgthinq.com/972181e8-d0d1-41e4-bfdf-2d69a3e83f9a?hdnts=exp=1757464304~hmac=6e4cb2dfafc8b5d4ebe14801870f8cd50dfe54d50bb7819e5791ed60fa43c0a7","appModuleVer":"17.78","appModuleUri":"https://objectcontent.lgthinq.com/6f9e5106-2098-4fff-8382-44224a29519d?hdnts=exp=1701394617~hmac=5b9c7381ced9740f199fbe379f86226fcb0dd261953164fbfed15b0d1bf63b7e","appRestartYn":"Y","appModuleSize":"12867303","langPackProductTypeVer":"88.1","langPackProductTypeUri":"https://objectcontent.lgthinq.com/4ebf105e-9218-4cf9-a256-56e57e7240f4?hdnts=exp=1756364538~hmac=603790fc2f890391f2dd99f033a692b0173b392bb82d5766a55d89e1396c937e","langPackModelVer":null,"langPackModelUri":null,"roomId":"160391648254978834","fwInfoList":[{"checksum":"00004048","order":1,"partNumber":"SAA40128564"}],"modemInfo":{"appVersion":"clip_hna_v1.9.192","modelName":"RAC_056905_WW","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":null,"subDeviceCount":0,"firebaseLogKey":"P:SD","cardType":"Large","cardControl":"Control","detailDeviceCode":null,"upgradableYn":"N","autoFwDownloadYn":"N","homeMovableYn":"Y","protocolVersion":null,"btAddress":null,"isTLV":null,"jsonList":null}[39m
```

**Error log**
```
[37m[04/10/2023, 15:19:58] [39m[36m[LGThinQ][39m [90m[Ar condicionado do quarto] Received snapshot:  {"airState.energy.onCurrent":306,"meta":{"allDeviceInfoUpdate":false,"messageId":"7c5dkPUURvOTFy9f7duNNg"},"mid":36427650,"online":true,"static":{"countryCode":"BR","deviceType":"401"},"timestamp":1696443597919}[39m
[37m[04/10/2023, 15:19:58] [39m[36m[LGThinQ][39m [90mmqtt message received: {"data":{"state":{"reported":{"airState.energy.onCurrent":306,"meta":{"allDeviceInfoUpdate":false,"messageId":"7c5dkPUURvOTFy9f7duNNg"},"mid":36427650,"online":true,"static":{"countryCode":"BR","deviceType":"401"},"timestamp":1696443597919}}},"deviceId":"6c5b0a3f-dc02-1605-876a-44cb8bad794f","type":"monitoring"}[39m
[37m[04/10/2023, 15:20:00] [39m[36m[LGThinQ][39m Set fan speed =  1
[37m[04/10/2023, 15:20:01] [39m[36m[LGThinQ][39m Set fan speed =  3
[37m[04/10/2023, 15:20:01] [39m[36m[LGThinQ][39m [90mmqtt message received: {"controlResult":{"messageId":"BkKADm2GSUJLe8boMQR2Dv","deviceId":"6c5b0a3f-dc02-1605-876a-44cb8bad794f","returnCode":"0103"}}[39m
[37m[04/10/2023, 15:20:01] [39m[36m[LGThinQ][39m [90mrequest error:  {[39m
[90m  status: 400,[39m
[90m  statusText: '400',[39m
[90m  headers: {[39m
[90m    date: 'Wed, 04 Oct 2023 18:20:01 GMT',[39m
[90m    'content-type': 'application/json;charset=UTF-8',[39m
[90m    'content-length': '42',[39m
[90m    connection: 'close'[39m
[90m  },[39m
[90m  config: {[39m
[90m    url: 'https://aic-service.lgthinq.com:46030/v1/service/devices/6c5b0a3f-dc02-1605-876a-44cb8bad794f/control-sync',[39m
[90m    method: 'post',[39m
[90m    data: '{"ctrlKey":"basicCtrl","command":"Set","dataKey":"airState.windStrength","dataValue":4}',[39m
[90m    headers: {[39m
[90m      Accept: 'application/json, text/plain, */*',[39m
[90m      'Content-Type': 'application/json',[39m
[90m      'x-api-key': 'VGhpblEyLjAgU0VSVklDRQ==',[39m
[90m      'x-thinq-app-ver': '3.6.1200',[39m
[90m      'x-thinq-app-type': 'NUTS',[39m
[90m      'x-thinq-app-level': 'PRD',[39m
[90m      'x-thinq-app-os': 'ANDROID',[39m
[90m      'x-thinq-app-logintype': 'LGE',[39m
[90m      'x-service-code': 'SVC202',[39m
[90m      'x-country-code': 'BR',[39m
[90m      'x-language-code': 'pt-BR',[39m
[90m      'x-service-phase': 'OP',[39m
[90m      'x-origin': 'app-native',[39m
[90m      'x-model-name': 'samsung/SM-G930L',[39m
[90m      'x-os-version': 'AOS/7.1.2',[39m
[90m      'x-app-version': 'LG ThinQ/3.6.12110',[39m
[90m      'x-message-id': 'BkKADm2GSUJLe8boMQR2Dv',[39m
[90m      'user-agent': 'okhttp/3.14.9',[39m
[90m      'x-emp-token': 'XXXXXXXXXX',[39m
[90m      'x-user-no': 'XXXXXXXXX',[39m
[90m      'x-client-id': 'XXXXXXXXX',[39m
[90m      'Content-Length': 87[39m
[90m    },[39m
[90m    transformRequest: [ [Function: transformRequest] ],[39m
[90m    transformResponse: [ [Function: transformResponse] ],[39m
[90m    timeout: 60000,[39m
[90m    adapter: [Function: httpAdapter],[39m
[90m    xsrfCookieName: 'XSRF-TOKEN',[39m
[90m    xsrfHeaderName: 'X-XSRF-TOKEN',[39m
[90m    maxContentLength: -1,[39m
[90m    maxBodyLength: -1,[39m
[90m    validateStatus: [Function: validateStatus],[39m
[90m    transitional: {[39m
[90m      silentJSONParsing: true,[39m
[90m      forcedJSONParsing: true,[39m
[90m      clarifyTimeoutError: false[39m
[90m    },[39m
[90m    'axios-retry': { retryCount: 0, lastRequestTime: 1696443601106 }[39m
[90m  },[39m
[90m  request: <ref *1> ClientRequest {[39m
[90m    _events: [Object: null prototype] {[39m
[90m      abort: [Function (anonymous)],[39m
[90m      aborted: [Function (anonymous)],[39m
[90m      connect: [Function (anonymous)],[39m
[90m      error: [Function (anonymous)],[39m
[90m      socket: [Function (anonymous)],[39m
[90m      timeout: [Function (anonymous)],[39m
[90m      finish: [Function: requestOnFinish][39m
[90m    },[39m
[90m    _eventsCount: 7,[39m
[90m    _maxListeners: undefined,[39m
[90m    outputData: [],[39m
[90m    outputSize: 0,[39m
[90m    writable: true,[39m
[90m    destroyed: false,[39m
[90m    _last: true,[39m
[90m    chunkedEncoding: false,[39m
[90m    shouldKeepAlive: false,[39m
[90m    maxRequestsOnConnectionReached: false,[39m
[90m    _defaultKeepAlive: true,[39m
[90m    useChunkedEncodingByDefault: true,[39m
[90m    sendDate: false,[39m
[90m    _removedConnection: false,[39m
[90m    _removedContLen: false,[39m
[90m    _removedTE: false,[39m
[90m    strictContentLength: false,[39m
[90m    _contentLength: 87,[39m
[90m    _hasBody: true,[39m
[90m    _trailer: '',[39m
[90m    finished: true,[39m
[90m    _headerSent: true,[39m
[90m    _closed: false,[39m
[90m    socket: TLSSocket {[39m
[90m      _tlsOptions: [Object],[39m
[90m      _secureEstablished: true,[39m
[90m      _securePending: false,[39m
[90m      _newSessionPending: false,[39m
[90m      _controlReleased: true,[39m
[90m      secureConnecting: false,[39m
[90m      _SNICallback: null,[39m
[90m      servername: 'aic-service.lgthinq.com',[39m
[90m      alpnProtocol: false,[39m
[90m      authorized: true,[39m
[90m      authorizationError: null,[39m
[90m      encrypted: true,[39m
[90m      _events: [Object: null prototype],[39m
[90m      _eventsCount: 10,[39m
[90m      connecting: false,[39m
[90m      _hadError: false,[39m
[90m      _parent: null,[39m
[90m      _host: 'aic-service.lgthinq.com',[39m
[90m      _closeAfterHandlingError: false,[39m
[90m      _readableState: [ReadableState],[39m
[90m      _maxListeners: undefined,[39m
[90m      _writableState: [WritableState],[39m
[90m      allowHalfOpen: false,[39m
[90m      _sockname: null,[39m
[90m      _pendingData: null,[39m
[90m      _pendingEncoding: '',[39m
[90m      server: undefined,[39m
[90m      _server: null,[39m
[90m      ssl: [TLSWrap],[39m
[90m      _requestCert: true,[39m
[90m      _rejectUnauthorized: true,[39m
[90m      parser: null,[39m
[90m      _httpMessage: [Circular *1],[39m
[90m      timeout: 60000,[39m
[90m      [Symbol(res)]: [TLSWrap],[39m
[90m      [Symbol(verified)]: true,[39m
[90m      [Symbol(pendingSession)]: null,[39m
[90m      [Symbol(async_id_symbol)]: 843,[39m
[90m      [Symbol(kHandle)]: [TLSWrap],[39m
[90m      [Symbol(lastWriteQueueSize)]: 0,[39m
[90m      [Symbol(timeout)]: Timeout {[39m
[90m        _idleTimeout: 60000,[39m
[90m        _idlePrev: [TimersList],[39m
[90m        _idleNext: [Timeout],[39m
[90m        _idleStart: 38077,[39m
[90m        _onTimeout: [Function: bound ],[39m
[90m        _timerArgs: undefined,[39m
[90m        _repeat: null,[39m
[90m        _destroyed: false,[39m
[90m        [Symbol(refed)]: false,[39m
[90m        [Symbol(kHasPrimitive)]: false,[39m
[90m        [Symbol(asyncId)]: 853,[39m
[90m        [Symbol(triggerId)]: 846[39m
[90m      },[39m
[90m      [Symbol(kBuffer)]: null,[39m
[90m      [Symbol(kBufferCb)]: null,[39m
[90m      [Symbol(kBufferGen)]: null,[39m
[90m      [Symbol(kCapture)]: false,[39m
[90m      [Symbol(kSetNoDelay)]: false,[39m
[90m      [Symbol(kSetKeepAlive)]: false,[39m
[90m      [Symbol(kSetKeepAliveInitialDelay)]: 0,[39m
[90m      [Symbol(kBytesRead)]: 0,[39m
[90m      [Symbol(kBytesWritten)]: 0,[39m
[90m      [Symbol(connect-options)]: [Object][39m
[90m    },[39m
[90m    _header: 'POST /v1/service/devices/6c5b0a3f-dc02-1605-876a-44cb8bad794f/control-sync HTTP/1.1\r\n' +[39m
[90m      'Accept: application/json, text/plain, */*\r\n' +[39m
[90m      'Content-Type: application/json\r\n' +[39m
[90m      'x-api-key: VGhpblEyLjAgU0VSVklDRQ==\r\n' +[39m
[90m      'x-thinq-app-ver: 3.6.1200\r\n' +[39m
[90m      'x-thinq-app-type: NUTS\r\n' +[39m
[90m      'x-thinq-app-level: PRD\r\n' +[39m
[90m      'x-thinq-app-os: ANDROID\r\n' +[39m
[90m      'x-thinq-app-logintype: LGE\r\n' +[39m
[90m      'x-service-code: SVC202\r\n' +[39m
[90m      'x-country-code: BR\r\n' +[39m
[90m      'x-language-code: pt-BR\r\n' +[39m
[90m      'x-service-phase: OP\r\n' +[39m
[90m      'x-origin: app-native\r\n' +[39m
[90m      'x-model-name: samsung/SM-G930L\r\n' +[39m
[90m      'x-os-version: AOS/7.1.2\r\n' +[39m
[90m      'x-app-version: LG ThinQ/3.6.12110\r\n' +[39m
[90m      'x-message-id: BkKADm2GSUJLe8boMQR2Dv\r\n' +[39m
[90m      'user-agent: okhttp/3.14.9\r\n' +[39m
[90m      'x-emp-token: d1e1c77d32875e9f25e762d08a8393cd0a2c505930933dff4c2168abb7961f040b688c019199fea3216040b1bf7d4762\r\n' +[39m
[90m      'x-user-no: BR1906285769530\r\n' +[39m
[90m      'x-client-id: ac1c8b16381fdfca2c57ad8e16c6564bd2a1bae5c62e6742130dddefac4b9fa8\r\n' +[39m
[90m      'Content-Length: 87\r\n' +[39m
[90m      'Host: aic-service.lgthinq.com:46030\r\n' +[39m
[90m      'Connection: close\r\n' +[39m
[90m      '\r\n',[39m
[90m    _keepAliveTimeout: 0,[39m
[90m    _onPendingData: [Function: nop],[39m
[90m    agent: Agent {[39m
[90m      _events: [Object: null prototype],[39m
[90m      _eventsCount: 2,[39m
[90m      _maxListeners: undefined,[39m
[90m      defaultPort: 443,[39m
[90m      protocol: 'https:',[39m
[90m      options: [Object: null prototype],[39m
[90m      requests: [Object: null prototype] {},[39m
[90m      sockets: [Object: null prototype],[39m
[90m      freeSockets: [Object: null prototype] {},[39m
[90m      keepAliveMsecs: 1000,[39m
[90m      keepAlive: false,[39m
[90m      maxSockets: Infinity,[39m
[90m      maxFreeSockets: 256,[39m
[90m      scheduling: 'lifo',[39m
[90m      maxTotalSockets: Infinity,[39m
[90m      totalSocketCount: 2,[39m
[90m      maxCachedSessions: 100,[39m
[90m      _sessionCache: [Object],[39m
[90m      [Symbol(kCapture)]: false[39m
[90m    },[39m
[90m    socketPath: undefined,[39m
[90m    method: 'POST',[39m
[90m    maxHeaderSize: undefined,[39m
[90m    insecureHTTPParser: undefined,[39m
[90m    joinDuplicateHeaders: undefined,[39m
[90m    path: '/v1/service/devices/6c5b0a3f-dc02-1605-876a-44cb8bad794f/control-sync',[39m
[90m    _ended: true,[39m
[90m    res: IncomingMessage {[39m
[90m      _readableState: [ReadableState],[39m
[90m      _events: [Object: null prototype],[39m
[90m      _eventsCount: 3,[39m
[90m      _maxListeners: undefined,[39m
[90m      socket: [TLSSocket],[39m
[90m      httpVersionMajor: 1,[39m
[90m      httpVersionMinor: 1,[39m
[90m      httpVersion: '1.1',[39m
[90m      complete: true,[39m
[90m      rawHeaders: [Array],[39m
[90m      rawTrailers: [],[39m
[90m      joinDuplicateHeaders: undefined,[39m
[90m      aborted: false,[39m
[90m      upgrade: false,[39m
[90m      url: '',[39m
[90m      method: null,[39m
[90m      statusCode: 400,[39m
[90m      statusMessage: '400',[39m
[90m      client: [TLSSocket],[39m
[90m      _consuming: false,[39m
[90m      _dumped: false,[39m
[90m      req: [Circular *1],[39m
[90m      responseUrl: 'https://aic-service.lgthinq.com:46030/v1/service/devices/6c5b0a3f-dc02-1605-876a-44cb8bad794f/control-sync',[39m
[90m      redirects: [],[39m
[90m      [Symbol(kCapture)]: false,[39m
[90m      [Symbol(kHeaders)]: [Object],[39m
[90m      [Symbol(kHeadersCount)]: 8,[39m
[90m      [Symbol(kTrailers)]: null,[39m
[90m      [Symbol(kTrailersCount)]: 0[39m
[90m    },[39m
[90m    aborted: false,[39m
[90m    timeoutCb: null,[39m
[90m    upgradeOrConnect: false,[39m
[90m    parser: null,[39m
[90m    maxHeadersCount: null,[39m
[90m    reusedSocket: false,[39m
[90m    host: 'aic-service.lgthinq.com',[39m
[90m    protocol: 'https:',[39m
[90m    _redirectable: Writable {[39m
[90m      _writableState: [WritableState],[39m
[90m      _events: [Object: null prototype],[39m
[90m      _eventsCount: 3,[39m
[90m      _maxListeners: undefined,[39m
[90m      _options: [Object],[39m
[90m      _ended: true,[39m
[90m      _ending: true,[39m
[90m      _redirectCount: 0,[39m
[90m      _redirects: [],[39m
[90m      _requestBodyLength: 87,[39m
[90m      _requestBodyBuffers: [],[39m
[90m      _onNativeResponse: [Function (anonymous)],[39m
[90m      _currentRequest: [Circular *1],[39m
[90m      _currentUrl: 'https://aic-service.lgthinq.com:46030/v1/service/devices/6c5b0a3f-dc02-1605-876a-44cb8bad794f/control-sync',[39m
[90m      _timeout: null,[39m
[90m      [Symbol(kCapture)]: false[39m
[90m    },[39m
[90m    [Symbol(kCapture)]: false,[39m
[90m    [Symbol(kBytesWritten)]: 0,[39m
[90m    [Symbol(kNeedDrain)]: false,[39m
[90m    [Symbol(corked)]: 0,[39m
[90m    [Symbol(kOutHeaders)]: [Object: null prototype] {[39m
[90m      accept: [Array],[39m
[90m      'content-type': [Array],[39m
[90m      'x-api-key': [Array],[39m
[90m      'x-thinq-app-ver': [Array],[39m
[90m      'x-thinq-app-type': [Array],[39m
[90m      'x-thinq-app-level': [Array],[39m
[90m      'x-thinq-app-os': [Array],[39m
[90m      'x-thinq-app-logintype': [Array],[39m
[90m      'x-service-code': [Array],[39m
[90m      'x-country-code': [Array],[39m
[90m      'x-language-code': [Array],[39m
[90m      'x-service-phase': [Array],[39m
[90m      'x-origin': [Array],[39m
[90m      'x-model-name': [Array],[39m
[90m      'x-os-version': [Array],[39m
[90m      'x-app-version': [Array],[39m
[90m      'x-message-id': [Array],[39m
[90m      'user-agent': [Array],[39m
[90m      'x-emp-token': [Array],[39m
[90m      'x-user-no': [Array],[39m
[90m      'x-client-id': [Array],[39m
[90m      'content-length': [Array],[39m
[90m      host: [Array][39m
[90m    },[39m
[90m    [Symbol(errored)]: null,[39m
[90m    [Symbol(kUniqueHeaders)]: null[39m
[90m  },[39m
[90m  data: { resultCode: '0103', result: { data: '' } }[39m
[90m}[39m
[37m[04/10/2023, 15:20:01] [39m[36m[LGThinQ][39m [90mThinQ Device Did Not Received the Command[39m
[37m[04/10/2023, 15:20:02] [39m[36m[LGThinQ][39m [90mmqtt message received: {"controlResult":{"messageId":"mdHFwTMwHAv3u95MAWC5uy","deviceId":"6c5b0a3f-dc02-1605-876a-44cb8bad794f","returnCode":"0000"}}[39m
[37m[04/10/2023, 15:20:02] [39m[36m[LGThinQ][39m [90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/6c5b0a3f-dc02-1605-876a-44cb8bad794f/control-sync[39m
[37m[04/10/2023, 15:20:02] [39m[36m[LGThinQ][39m [90mThinQ Device Received the Command[39m
```

**Plugin Config:**

```
            "devices": [
                {
                    "id": "6c5b0a3f-dc02-1605-876a-44cb8bad794f",
                    "name": "quarto",
                    "type": "AC",
                    "ac_mode": "BOTH",
                    "ac_fan_control": true,
                    "ac_temperature_unit": "C"
                }
            ],
            "thinq1": true,
            "refresh_interval": 60,
            "platform": "LGThinQ"
        }
```

**Environment:**

* **Plugin Version**:  1.6.0
* **Homebridge Version**: 4.50.6
* **Node.js Version**: 18.16.0
* **NPM Version**: 9.5.1
* **Operating System**: Homebridge OS on Raspberry Pi 3