求助：显示[ERROR]'devices' not defined! Please check your 'config.json' file.
我的设备是空调伴侣2升级版，空调是美的。我是个小白，跟着code里面琢磨了很久才写好config.json，json如下：
        {
            "platform": "XiaoMiAcPartner",
            "device": {
                "192.168.3.38": "897996309e6b70e21e05c7765542a9ff"
            },
            "accessories": [
                {
                    "name": "Aqara空调伴侣",
                    "type": "climate",
                    "customize": {
                        "off": "关闭",
                        "on": "",
                        "auto": ""
                    }
                }
            ]
        }
，但是运行时显示"[ERROR]'devices' not defined! Please check your 'config.json' file。"，然后会有错误发生，homebridge不能运行，日志显示：
TypeError: Cannot read property 'once' of undefined
    at new Base (/usr/local/lib/node_modules/homebridge-mi-acpartner/accessories/base.js:23:29)
    at new baseAC (/usr/local/lib/node_modules/homebridge-mi-acpartner/accessories/baseAC.js:8:9)
    at new ClimateAccessory (/usr/local/lib/node_modules/homebridge-mi-acpartner/accessories/climate.js:7:9)
    at /usr/local/lib/node_modules/homebridge-mi-acpartner/index.js:100:42
    at Array.forEach (<anonymous>)
    at XiaoMiAcPartner.accessories (/usr/local/lib/node_modules/homebridge-mi-acpartner/index.js:82:36)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:414:24
    at new Promise (<anonymous>)
    at Server.loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:413:12)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:401:28

如果在“type”那里什么都不填写，会出现“[XiaoMiAcPartner] [WARN]Wrong Type -> ”的提示，homebridge可以运行，但是就没有新配件出现。
不知道是哪里出了问题，还请帮忙，感谢。