[AC Partner]Sync failed! Error: Resp general error
空调伴侣2代

美的空调 Midea

Error Log:
```
[2019-6-11 23:13:26] Homebridge is running on port 51826.
[2019-6-11 23:13:26] [XiaoMiAcPartner] [INFO]Device 192.168.0.103 -> Connected
[2019-6-11 23:13:26] [XiaoMiAcPartner] [AC Partner]Ready
[2019-6-11 23:13:28] [XiaoMiAcPartner] [AC Partner]Sync failed! Error: Resp general error.
[2019-6-11 23:14:26] [XiaoMiAcPartner] [AC Partner]Sync failed! Error: Resp general error.
[2019-6-11 23:14:37] [XiaoMiAcPartner] [DEBUG]FastSync...
[2019-6-11 23:14:37] [Pi CPU Temperature] update currentTemperatureCharacteristic value: 47.236
[2019-6-11 23:14:37] [XiaoMiAcPartner] [AC Partner]Sync failed! Error: Resp general error.
[2019-6-11 23:14:37] [MiOutletPlatform] [MiOutletPlatform][DEBUG]MiPlugBase - Outlet - getPower: off
[2019-6-11 23:14:42] [XiaoMiAcPartner] [AC Partner]Sync failed! Error: Resp general error.
[2019-6-11 23:14:47] [XiaoMiAcPartner] [AC Partner]Sync failed! Error: Resp general error.
/usr/lib/node_modules/homebridge-mi-acpartner/lib/presetUtil.js:19
  let com_model = model.substr(0, 2) + model.substr(8, 8);
                        ^

TypeError: Cannot read property 'substr' of undefined
    at module.exports (/usr/lib/node_modules/homebridge-mi-acpartner/lib/presetUtil.js:19:25)
    at HeaterCoolerAccessory._sendCmdAsync (/usr/lib/node_modules/homebridge-mi-acpartner/accessories/baseAC.js:125:20)
    at HeaterCoolerAccessory._setCActive (/usr/lib/node_modules/homebridge-mi-acpartner/accessories/heaterCooler.js:114:14)
    at Characteristic.Active.emit (events.js:180:13)
    at Characteristic.Active.Characteristic.setValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:319:10)
    at Bridge.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:867:22)
    at Array.forEach (<anonymous>)
    at Bridge.Accessory._handleSetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:807:8)
    at HAPServer.emit (events.js:180:13)
    at HAPServer._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:972:10)
```

config.json
```
"platforms": [{
        "platform": "MiOutletPlatform",
        "deviceCfgs": [{
            "type": "MiPlugBase",
            "ip": "192.168.0.106",
            "token": "b9d0a02cc74f374776787c57858cd4f6",
            "outletName": "living room outlet",
            "outletDisable": false,
            "temperatureName": "living room outlet temperature",
            "temperatureDisable": true,
            "switchLEDName": "living room led light switch",
            "switchLEDDisable": true
        }]
    },
        {
            "platform": "XiaoMiAcPartner",
            "devices":{
                "192.168.0.103":"02838294ae19ff3ba37a8456429dc96f"
            },
            "accessories":[
                {
                    "name": "AC Partner",
                    "type": "heaterCooler",
                    "customize": {
                    }
                }
            ]
        }]
```
配置文件中第一个配件是一个小米插座的，使用正常。第2个是空调伴侣的配置。

希望能给予一些帮助，感谢！
Thanks for your great work, AWESOME! 🐂🍺