Bug: Unknown statusCode: undefined - Re-opening
### Describe the Bug

In the past I was getting these every once in a while. After upgrading to v3.1.0, I'm getting them almost continuously and across multiple devices.


### To Reproduce

Just run the plugin

### Expected Behavior

No errors

### Relevant Log Output

```shell
[03/02/2024, 07:34:51] [SwitchBot] Curtain: Living Room Curtain Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 07:34:51] [SwitchBot] Curtain: Living Room Curtain Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 09:20:03] [SwitchBot] Curtain: Living Room Curtain Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 09:20:03] [SwitchBot] Curtain: Living Room Curtain Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 09:28:06] [SwitchBot] Initializing SwitchBot platform...
[03/02/2024, 09:28:09] [SwitchBot] Total SwitchBot Devices Found: 11
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Outdoor Meter SwB DeviceID: CFD41B916DA3
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Dining Room SwB DeviceID: E0C8750159BB
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Bedroom SwBP DeviceID: E3D163DE2E31
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Motion Sensor 2E DeviceID: EBA08112E12E
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Small Bathroom SwB DeviceID: F1BAF4B4E58E
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Main Bathroom SwB DeviceID: F3745EADBBFE
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Living Room SwBP DeviceID: F4B27AC3DF57
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Office SwBP DeviceID: FA500E1417E8
[03/02/2024, 09:28:09] [SwitchBot] Restoring existing accessory from cache: Living Room Curtain DeviceID: FD1E6D06B532
[03/02/2024, 09:38:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 09:38:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 09:40:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 09:40:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:06:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:06:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:06:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:06:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:38:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:38:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:42:09] [SwitchBot] Meter: Main Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:42:09] [SwitchBot] Meter: Main Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] Meter: Main Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] Meter: Main Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] MeterPlus: Living Room SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] MeterPlus: Living Room SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:50:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:52:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:52:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:58:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 10:58:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:02:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:02:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:02:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:02:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:12:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:12:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:12:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:12:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:18:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:18:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:20:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:20:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:22:09] [SwitchBot] MeterPlus: Living Room SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:22:09] [SwitchBot] MeterPlus: Living Room SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:28:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:28:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:28:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:28:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:38:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:38:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:38:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:38:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:38:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:38:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:40:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:40:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:40:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:40:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:40:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:40:09] [SwitchBot] Meter: Dining Room SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:42:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:42:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:44:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:44:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:48:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:48:09] [SwitchBot] MeterPlus: Bedroom SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:50:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:50:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:58:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 11:58:09] [SwitchBot] Motion Sensor: Motion Sensor 2E Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 12:04:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 12:04:09] [SwitchBot] WoIOSensor: Outdoor Meter SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 12:04:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 12:04:09] [SwitchBot] MeterPlus: Office SwBP Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 12:08:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[03/02/2024, 12:08:09] [SwitchBot] Meter: Small Bathroom SwB Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
```


### Config for homebridge-switchbot

```shell
{
    "name": "SwitchBot",
    "credentials": {
        "token": "yyy",
        "secret": "xxx",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "deviceId": "C3C22D5491D3",
                "configDeviceName": "Living Room Hub 2",
                "hide_device": true
            },
            {
                "deviceId": "FD1E6D06B532",
                "configDeviceName": "Living Room Curtain",
                "hide_device": false,
                "configDeviceType": "Curtain",
                "connectionType": "OpenAPI",
                "curtain": {
                    "set_minStep": 10,
                    "set_min": 5,
                    "set_max": 96,
                    "setOpenMode": "0",
                    "setCloseMode": "0"
                },
                "refreshRate": 30,
                "logging": "standard"
            }
        ],
        "logging": "standard"
    },
    "platform": "SwitchBot"
}
```


### Screenshots

_No response_

### Device and Model

Curains v2, meters, meters plus

### Node.js Version

v20.11.0

### NPM Version

v10.2.4

### Homebridge Version

v1.7.0

### Homebridge Switchbot Plugin Version

v3.1.0

### Homebridge Config UI X Plugin Version

 v4.55.1

### Operating System

Debian GNU/Linux Bullseye (11)