Bug: Failed to Discover Devices, Error Message: "Cannot read properties of undefined (reading 'map')
### Describe the Bug

can t discover devices

### To Reproduce

stopped working so i deleted and readded the plugin and reconfigured

### Expected Behavior

discover devices as before!

### Relevant Log Output

```shell
24/7/2023, 22:50:14 Switchbot Switchbot starting
24/7/2023, 22:50:18 Switchbot [ ERROR ] [31mThe plugin "homebridge-switchbot" requires a Homebridge version of ^1.6.1 which does not satisfy the current Homebridge version of 1.6.0. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.[39m
24/7/2023, 22:50:21 Switchbot Loaded plugin '@switchbot/homebridge-switchbot'
24/7/2023, 22:50:21 Switchbot [ DEBUG ] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
24/7/2023, 22:50:21 Switchbot Loading 1 platforms...
24/7/2023, 22:50:21 Switchbot SwitchBot [ WARNING ] [DEBUG] Using Config Logging: debug
24/7/2023, 22:50:21 Switchbot SwitchBot [DEBUG] Finished initializing platform:
24/7/2023, 22:50:21 Switchbot SwitchBot Platform Config: {"logging":"debug","refreshRate":6}
24/7/2023, 22:50:21 Switchbot SwitchBot [ WARNING ] [DEBUG] Using Default Push Rate.
24/7/2023, 22:50:21 Switchbot SwitchBot [DEBUG] Config OK
24/7/2023, 22:50:21 Switchbot SwitchBot [DEBUG] Executed didFinishLaunching callback
24/7/2023, 22:50:22 Switchbot Bridge is running on port 51836.
24/7/2023, 22:50:22 Switchbot SwitchBot [DEBUG] Devices: {}
24/7/2023, 22:50:22 Switchbot SwitchBot [DEBUG] Request successful, statusCode: 200
24/7/2023, 22:50:22 Switchbot SwitchBot [DEBUG] Headers: {"date":"Mon, 24 Jul 2023 20:50:22 GMT","content-type":"application/json","content-length":"73","connection":"keep-alive","x-amzn-requestid":"c5cd7458-9e2b-4036-9c22-433f998144c8","x-amz-apigw-id":"IliSUFAxoAMFcEQ=","x-amzn-trace-id":"Root=1-64bee40e-5116cac62c6e1c11258f4308;Sampled=0;lineage=c8c2b0f2:0|bf95bacf:0"}
24/7/2023, 22:50:22 Switchbot SwitchBot [DEBUG] SwitchBot Device Config Set: [{"bot":{"deviceType":"switch","mode":"switch"},"configDeviceName":"camino","connectionType":"OpenAPI","configDeviceType":"Bot","history":false,"deviceId":"C9458FF3656E","logging":"debug"},{"connectionType":"OpenAPI","refreshRate":6,"configDeviceType":"Smart Lock","lock":{"hide_contactsensor":true},"configDeviceName":"porta scala","bot":{"deviceType":"lock"},"deviceId":"C77C293BEB59","logging":"debug"},{"deviceId":"C9725E019932","configDeviceName":"sensore temperatura lavanderia","configDeviceType":"Meter","connectionType":"OpenAPI","history":true,"logging":"debug"}]
24/7/2023, 22:50:22 Switchbot SwitchBot [ ERROR ] [DEBUG] Failed to Discover Devices, Error Message: "Cannot read properties of undefined (reading 'map')", Submit Bugs Here: https://tinyurl.com/SwitchBotBug
24/7/2023, 22:50:22 Switchbot SwitchBot [ ERROR ] [DEBUG] Failed to Discover Devices, Error: TypeError: Cannot read properties of undefined (reading 'map')
```


### Config for homebridge-switchbot

```shell
{
    "accessories": [],
    "platforms": [
        {
            "name": "SwitchBot",
            "options": {
                "refreshRate": 6,
                "devices": [
                    {
                        "bot": {
                            "deviceType": "switch",
                            "mode": "switch"
                        },
                        "configDeviceName": "camino",
                        "connectionType": "OpenAPI",
                        "configDeviceType": "Bot",
                        "history": false,
                        "deviceId": "C945***656E"
                    },
                    {
                        "connectionType": "OpenAPI",
                        "refreshRate": 6,
                        "configDeviceType": "Smart Lock",
                        "lock": {
                            "hide_contactsensor": true
                        },
                        "configDeviceName": "porta scala",
                        "bot": {
                            "deviceType": "lock"
                        },
                        "deviceId": "C77***3BEB59"
                    },
                    {
                        "deviceId": "C9725E**9932",
                        "configDeviceName": "sensore temperatura lavanderia",
                        "configDeviceType": "Meter",
                        "connectionType": "OpenAPI",
                        "history": true
                    }
                ]
            },
            "credentials": {
                "token": "03f58aeffb******cc10************f7dcb",
                "secret": "4c********57b89552a6"
            },
            "platform": "SwitchBot"
        }
    ]
}
```


### Screenshots

_No response_

### Device and Model

hoobs

### Node.js Version

16.20.1

### NPM Version

i think latest

### Homebridge Version

1.6.0

### Homebridge Switchbot Plugin Version

2.6.3 beta 7

### Homebridge Config UI X Plugin Version

_No response_

### Operating System

raspbian