Bug: new error log messages with latest version (v3.5.1) for SwitchBot Curtain devices
### Describe the Bug

A new error message appears in the log after the latest update; before this update to v3.5.1 the error was not present.
Though it seems the curtain devices are working properly.

### To Reproduce

latest v3.5.1 with no config changes for SwitchBot Curtain devices (were without error messages before update)

### Expected Behavior

no red error messages

### Relevant Log Output

```shell
[6/28/2024, 5:48:27 PM] [homebridge-switchbot] Curtain: Schlafzimmer Vorhang failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot use 'in' operator to search for 'power' in undefined"
```


### Config for homebridge-switchbot

```shell
{
                        "deviceId": "CAD9xxxxBC05",
                        "configDeviceName": "Schlafzimmer Vorhang",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "setOpenMode": "1",
                            "setCloseMode": "1"
                        },
                        "history": true,
                        "logging": "standard"
                    }
```


### Screenshots

_No response_

### Device and Model

Curtain

### Node.js Version

v20.15.0

### NPM Version

v10.7.0

### Homebridge Version

v1.8.3

### Homebridge Switchbot Plugin Version

latest

### Homebridge Config UI X Plugin Version

v4.56.4

### Operating System

Raspbian