Bug: Was 'node-switchbot' found: false
### Describe The Bug

Upgraded to node.js V18.12.0. Now getting this error whenever curtain status is queried: Was 'node-switchbot' found: false

### To Reproduce

Upgrade to node.js 18:12.0

### Expected behavior

No error

### Relevant log output

```shell
[28/10/2022, 10:19:16] [SwitchBot] Curtain: Living Room Curtain Config: {"set_minStep":10,"set_min":5,"set_max":96,"setOpenMode":"0","setCloseMode":"0","connectionType":"BLE/OpenAPI","logging":"standard","refreshRate":120,"scanDuration":5}
[28/10/2022, 10:19:16] [SwitchBot] Was 'node-switchbot' found: false
[28/10/2022, 10:19:16] [SwitchBot] [DEBUG] Curtain uuid: DFC80D28CE14-Curtain, (290ba6f5-8474-4a54-8d14-ce396a2e4251)
[28/10/2022, 10:19:16] [SwitchBot] Curtain: Living Room Curtain wasn't able to establish BLE Connection, node-switchbot: false
[28/10/2022, 10:19:16] [SwitchBot] Curtain: Living Room Curtain Using OpenAPI Connection to Refresh Status
```


### Config for homebridge-switchbot

```shell
{
    "bridge": {
        "name": "Homebridge BFAB",
        "username": "0E:1C:BB:1A:BF:AB",
        "port": 51567,
        "pin": "xxx"
    },
   "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
         {
            "name": "SwitchBot",
            "credentials": {
                "token": "xxx,
                "secret": "xxx",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "DFC80D28CE14",
                        "configDeviceName": "Living Room Curtain",
                        "hide_device": false,
                        "configDeviceType": "Curtain",
                        "connectionType": "BLE/OpenAPI",
                        "scanDuration": 5,
                        "curtain": {
                            "set_minStep": 10,
                            "set_min": 5,
                            "set_max": 96,
                            "setOpenMode": "0",
                            "setCloseMode": "0"
                        },
                        "refreshRate": 120,
                        "logging": "standard"
                    },
                    {
                        "deviceId": "98F4AB2F20EE",
                        "configDeviceName": "Bedroom Humidifier",
                        "hide_device": false,
                        "configDeviceType": "Humidifier",
                        "connectionType": "OpenAPI",
                        "humidifier": {
                            "hide_temperature": true,
                            "set_minStep": 33
                        },
                        "logging": "standard"
                    }
                ],
                "refreshRate": 120,
                "logging": "standard"
            },
            "platform": "SwitchBot"
        },
        }
    ]
}
```


### Screenshots

_No response_

### Device & Model

Curtains

### Node.js Version

v18.12.0

### NPM Version

v8.19.2

### Homebridge Version

v1.5.1

### Homebridge Switchbot Plugin Version

v2.2.2

### Homebridge Config UI X Plugin Version

homebridge-config-ui-x v4.50.1

### Operating System

Raspbian GNU/Linux Buster