Support Request: getaddrinfo ENOTFOUND api.switch-bot.com
### Describe Your Problem

I have noticed that our SwitchBot SmartLock doesn't always react to our HomeKit automations, resulting in the door sometimes staying unlocked, without us noticing.

Upon inspection of the HomeBridge logs, I am seeing the SwitchBot plugin throw ENOTFOUND errors; as far as I am aware this does not affect my other HomeBridge plugins.

Has anybody else seen something like this? Any ideas of how to possibly solve this?

Please let me know if this issue is not relevant here.


### Relevant log output

```shell
Smart Lock: NameOfLock error message: getaddrinfo ENOTFOUND api.switch-bot.com
```


### Config for homebridge-switchbot

```shell
"name": "SwitchBot",
            "credentials": {
                "token": "xxx",
                "secret": "xxx",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "NameOFLock",
                        "configDeviceType": "Smart Lock",
                        "connectionType": "BLE/OpenAPI",
                        "scanDuration": 1,
                        "refreshRate": 30,
                        "external": true,
                        "logging": "standard"
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "NameOfBot1",
                        "hide_device": true
                    },
                    {
                        "deviceId": "xx",
                        "configDeviceName": "NameOfBot2",
                        "hide_device": true
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "NameOfBot3",
                        "hide_device": true
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "NameOfBot4",
                        "hide_device": true
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "NameOfBot5",
                        "hide_device": true
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "NameOfBot6",
                        "hide_device": true
                    }
                ],
                "irdevices": [
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "Air Conditioner",
                        "configRemoteType": "Air Conditioner",
                        "logging": "standard"
                    }
                ],
                "logging": "standard"
            },
            "_bridge": {
                "username": "xxx",
                "port": 56380
            },
            "platform": "SwitchBot"
```


### Screenshots

_No response_

### Device & Model

M1 mac mini

### Node.js Version

v16.18.0

### NPM Version

v8.19.2

### Homebridge Version

v1.5.1

### Homebridge SwitchBot Plugin Version

v2.2.2

### Homebridge Config UI X Plugin Version

v4.50.1

### Operating System

macOS