Bug: HomeKit Automation failed trigger all SwitchBot Curtain 2
### Describe The Bug

HomeKit Automation failed trigger all SwitchBot Curtain 2 at once

### To Reproduce

1. Create an automation on Apple Home app 2. Select multiple SwitchBot Curtain 2 devices and choose Open 3. Test Automation 4. One of the device does not start

### Expected behavior

All devices should be triggered at a time based on the automation settings

### Relevant log output

```shell
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLERefreshStatus
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLE Address: d4:4a:67:99:b4:53
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLERefreshStatus
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLE Address: eb:e3:fa:79:bf:11
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain Config BLE Address: d4:4a:67:99:b4:53, BLE Address Found: d4:4a:67:99:b4:53
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain serviceData: {"model":"c","modelName":"WoCurtain","calibration":true,"battery":86,"inMotion":false,"position":99,"lightLevel":1,"deviceChain":1}
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain calibration: true, position: 99, lightLevel: 1, battery: 86, inMotion: false
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain connected: true
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLEparseStatus
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain CurrentPosition 0
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain Standby, CurrentPosition: 0
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain Stopped
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain CurrentPosition: 0, TargetPosition: 0, PositionState: 2,
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain LightLevel: 1
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain LightLevel: 1, CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BatteryLevel: 86, StatusLowBattery: 0
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic CurrentPosition: 0
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic PositionState: 2
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic TargetPosition: 0
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic BatteryLevel: 86
[1/6/2023, 5:09:28 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic StatusLowBattery: 0
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain No Changes, Set TargetPosition: 100
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin No Changes, Set TargetPosition: 100
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain value: 100, CurrentPosition: 0
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateRate: 7
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin value: 100, CurrentPosition: 0
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateRate: 7
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLEpushChanges
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLE Address: d4:4a:67:99:b4:53
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Left Curtain Mode: Default Mode
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLEpushChanges
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLE Address: eb:e3:fa:79:bf:11
[1/6/2023, 5:09:32 PM] [SwitchBot] [DEBUG] Right Curatin Mode: Default Mode
[1/6/2023, 5:09:33 PM] [SwitchBot] Left Curtain Target Position: 100
[1/6/2023, 5:09:33 PM] [homebridge-leviton] onSetPower: Leviton Device 2F5C OFF
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain Done.
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLEparseStatus
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain CurrentPosition 0
[1/6/2023, 5:09:35 PM] [SwitchBot] Curtain: Left Curtain Checking Status ...
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain Standby, CurrentPosition: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain Stopped
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain CurrentPosition: 0, TargetPosition: 0, PositionState: 2,
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain LightLevel: 1
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain LightLevel: 1, CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BatteryLevel: 86, StatusLowBattery: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic CurrentPosition: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic PositionState: 2
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic TargetPosition: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic BatteryLevel: 86
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain updateCharacteristic StatusLowBattery: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLEparseStatus
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin CurrentPosition 0
[1/6/2023, 5:09:35 PM] [SwitchBot] Curtain: Right Curatin Checking Status ...
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Standby, CurrentPosition: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Stopped
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin CurrentPosition: 0, TargetPosition: 0, PositionState: 2,
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin LightLevel: 1
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin LightLevel: 1, CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BatteryLevel: 77, StatusLowBattery: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic CurrentPosition: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic PositionState: 2
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic TargetPosition: 0
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic BatteryLevel: 77
[1/6/2023, 5:09:35 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic StatusLowBattery: 0
[1/6/2023, 5:09:37 PM] [SwitchBot] Right Curatin Target Position: 0
[1/6/2023, 5:09:37 PM] [SwitchBot] Curtain: Right Curatin failed BLEpushChanges with BLE Connection, Error Message: "Cannot read properties of undefined (reading 'runToPos')"
[1/6/2023, 5:09:39 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain setNewTarget true timeout
[1/6/2023, 5:09:39 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin setNewTarget true timeout
[1/6/2023, 5:09:47 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLERefreshStatus
[1/6/2023, 5:09:47 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLE Address: d4:4a:67:99:b4:53
[1/6/2023, 5:09:47 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLERefreshStatus
[1/6/2023, 5:09:47 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLE Address: eb:e3:fa:79:bf:11
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Config BLE Address: eb:e3:fa:79:bf:11, BLE Address Found: eb:e3:fa:79:bf:11
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin serviceData: {"model":"c","modelName":"WoCurtain","calibration":true,"battery":77,"inMotion":false,"position":99,"lightLevel":1,"deviceChain":1}
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin calibration: true, position: 99, lightLevel: 1, battery: 77, inMotion: false
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin connected: true
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLEparseStatus
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin CurrentPosition 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Standby, CurrentPosition: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Stopped
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin CurrentPosition: 0, TargetPosition: 0, PositionState: 2,
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin LightLevel: 1
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin LightLevel: 1, CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BatteryLevel: 77, StatusLowBattery: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic CurrentPosition: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic PositionState: 2
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic TargetPosition: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic BatteryLevel: 77
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic StatusLowBattery: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLERefreshStatus
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Left Curtain BLE Address: d4:4a:67:99:b4:53
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLERefreshStatus
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLE Address: eb:e3:fa:79:bf:11
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Config BLE Address: eb:e3:fa:79:bf:11, BLE Address Found: eb:e3:fa:79:bf:11
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin serviceData: {"model":"c","modelName":"WoCurtain","calibration":true,"battery":77,"inMotion":false,"position":99,"lightLevel":1,"deviceChain":1}
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin calibration: true, position: 99, lightLevel: 1, battery: 77, inMotion: false
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin connected: true
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BLEparseStatus
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin CurrentPosition 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Standby, CurrentPosition: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin Stopped
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin CurrentPosition: 0, TargetPosition: 0, PositionState: 2,
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin LightLevel: 1
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin LightLevel: 1, CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin BatteryLevel: 77, StatusLowBattery: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic CurrentPosition: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic PositionState: 2
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic TargetPosition: 0
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic CurrentAmbientLightLevel: 1
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic BatteryLevel: 77
[1/6/2023, 5:09:48 PM] [SwitchBot] [DEBUG] Curtain: Right Curatin updateCharacteristic StatusLowBattery: 0
```


### Config for homebridge-switchbot

```shell
{
    "bridge": {
        "name": "Homebridge 79CB",
        "username": "********",
        "port": 51009,
        "pin": "********",
        "advertiser": "********"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": "********",
                "secret": "********",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "********",
                        "configDeviceName": "Right Curatin",
                        "configDeviceType": "Curtain",
                        "connectionType": "BLE",
                        "curtain": {
                            "set_min": 1,
                            "set_max": 99
                        },
                        "offline": true,
                        "logging": "standard"
                    },
                    {
                        "deviceId": "********",
                        "configDeviceName": "Left Curtain",
                        "configDeviceType": "Curtain",
                        "connectionType": "BLE",
                        "curtain": {
                            "set_min": 1,
                            "set_max": 99
                        },
                        "offline": true,
                        "logging": "standard"
                    }
                ],
                "refreshRate": 20
            },
            "platform": "SwitchBot"
        },
        {
            "email": "********",
            "password": "********",
            "platform": "LevitonDecoraSmart",
            "_bridge": {
                "username": "********",
                "port": 36898
            }
        }
    ]
}
```


### Screenshots

_No response_

### Device & Model

Switchbot Curtain 2

### Node.js Version

v18.12.1

### NPM Version

8.19.2

### Homebridge Version

v1.6.0

### Homebridge Switchbot Plugin Version

v2.4.0

### Homebridge Config UI X Plugin Version

_No response_

### Operating System

Docker