Support Request: 
### Describe Your Problem

Switchbot devices not receiving API calls

### Relevant log output

```shell
[SwitchBot] API Req uest: TypeError: Cannot read properties of undefined (reading
'map'), Submit Bugs He
re: https://tinyurl.com/SwitchBotBug
```


### Config for homebridge-switchbot

```shell
{
            "name": "SwitchBot",
            "credentials": {
                "token": "xxxx",
                "secret": "xxxx",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "F5AB8AA58AF8",
                        "configDeviceName": "Water Heater",
                        "configDeviceType": "Bot",
                        "connectionType": "BLE/OpenAPI",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch",
                            "allowPush": true
                        },
                        "logging": "debug"
                    }
                ]
            },
            "platform": "SwitchBot"
        }
```


### Screenshots

_No response_

### Device & Model

Switchbot all

### Node.js Version

V18.14.2

### NPM Version

?

### Homebridge Version

v1.6.0

### Homebridge SwitchBot Plugin Version

Latest

### Homebridge Config UI X Plugin Version

_No response_

### Operating System

Raspbian