UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'find' of undefined
I get this warning and no devices are showing up. Please help:

(node:17584) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'find' of undefined
    at TuyaSHOpenAPI.getDevices (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:69:78)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at TuyaPlatform.initTuyaSDK (/usr/local/lib/node_modules/homebridge-tuya-platform/index.js:80:17)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17584) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17584) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Config file:

"options": {
                "username": "iii.jjjj@icloud.com",
                "password": "XXXX",
                "accessId": "cgctdtgxxxxxx",
                "accessKey": "hjgjffffffff",
                "lang": "en",
                "projectType": "2",
                "appSchema": "smartlife",
                "endPoint": "https://openapi.tuyaeu.com",
                "countryCode": 372,
                "debug": false
            },
            "name": "TuyaPlatform",
            "platform": "TuyaPlatform"