Support Request: 
### Describe Your Problem

Hi there! I have 2 Switchbot Bots, 1 i bought a year ago, that works falwlessly and always has via Homebridge and this plugin. I bought another one a couple of days ago. This one WILL NOT accept any orders given through HomeBridge. (I am using BLE only). It works flawlessly via the App, but not at all through homebridge, it just doesn't react. I have attached the relevant Logs below. What i tried so far: -Setting up the device anew in the Plugin -compeltely wiping my RasPi 4 and reinstalling Homebridge anew -Setting both bots again, the exact same (still only the old one works. The new Switch, does use a more recent Firmware, maybe that has to do with that?)

### Relevant log output

```shell
[16/02/2024, 13:32:38] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 3889) is running on port 51924.
[16/02/2024, 13:32:39] [SwitchBot] Total SwitchBot Devices Found: 2
[16/02/2024, 13:32:39] [SwitchBot] Restoring existing accessory from cache: PC DeviceID: XXXXX
[16/02/2024, 13:32:39] [SwitchBot] Restoring existing accessory from cache: KM Switch DeviceID: XXXX
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Using Device Config Logging: debug
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Accessory Cache: switch
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Using Device Type: switch
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Using Default scanDuration: 1
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Using Platform Config refreshRate: 120
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Using Default Bot pushRatePress: 15
[16/02/2024, 13:32:39] [SwitchBot] Bot: PC does not have bot mode set in the Plugin's SwitchBot Device Settings,
[16/02/2024, 13:32:39] [SwitchBot] Bot: PC is defaulting to "switch" mode, you may experience issues.
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Allowing Push Changes: false
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Config: {"deviceType":"switch","connectionType":"BLE","logging":"debug"}
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC BLERefreshStatus
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC Displaying as Switch
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic On: false
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Using Device Config Logging: debug
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Accessory Cache: switch
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Using Device Type: switch
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Using Default scanDuration: 1
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Using Platform Config refreshRate: 120
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Using Default Bot pushRatePress: 15
[16/02/2024, 13:32:39] [SwitchBot] Bot: KM Switch does not have bot mode set in the Plugin's SwitchBot Device Settings,
[16/02/2024, 13:32:39] [SwitchBot] Bot: KM Switch is defaulting to "switch" mode, you may experience issues.
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Allowing Push Changes: false
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Config: {"deviceType":"switch","connectionType":"BLE","logging":"debug"}
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch BLERefreshStatus
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch Displaying as Switch
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic On: false
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC BLE Address: XX
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: KM Switch BLE Address: XX
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -59,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC address: c6:ae:51:9d:f4:32, model: undefined
[16/02/2024, 13:32:39] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -52,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC BLEparseStatus
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC Press Mode, mode: undefined, On: false
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic On: false
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: KM Switch BLEparseStatus
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: KM Switch Press Mode, mode: undefined, On: false
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: KM Switch BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic On: false
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:32:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:32:45] [Homebridge UI] Starting terminal session
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC BLERefreshStatus
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC BLE Address: XX
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: KM Switch BLERefreshStatus
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: KM Switch BLE Address: XX
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -54,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -58,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:34:39] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: PC BLEparseStatus
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: PC Press Mode, mode: undefined, On: false
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: PC BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic On: false
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: KM Switch BLEparseStatus
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: KM Switch Press Mode, mode: undefined, On: false
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: KM Switch BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic On: false
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:34:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:36:04] [SwitchBot] Bot: PC Set On: true
[16/02/2024, 13:36:04] [SwitchBot] [DEBUG] Bot: PC BLEpushChanges
[16/02/2024, 13:36:04] [SwitchBot] [DEBUG] Bot: PC BLEpushChanges On: true OnCached: false
[16/02/2024, 13:36:04] [SwitchBot] [DEBUG] Bot: PC BLE Address: XX
[16/02/2024, 13:36:04] [SwitchBot] [DEBUG] Bot: PC Press Mode: switch
[16/02/2024, 13:36:04] [SwitchBot] Bot: PC On: true
[16/02/2024, 13:36:07] [SwitchBot] [DEBUG] Bot: PC Done.
[16/02/2024, 13:36:12] [SwitchBot] Bot: KM Switch Set On: true
[16/02/2024, 13:36:12] [SwitchBot] [DEBUG] Bot: KM Switch BLEpushChanges
[16/02/2024, 13:36:12] [SwitchBot] [DEBUG] Bot: KM Switch BLEpushChanges On: true OnCached: false
[16/02/2024, 13:36:12] [SwitchBot] [DEBUG] Bot: KM Switch BLE Address: XX
[16/02/2024, 13:36:12] [SwitchBot] [DEBUG] Bot: KM Switch Press Mode: switch
[16/02/2024, 13:36:17] [SwitchBot] Bot: KM Switch On: true
[16/02/2024, 13:36:17] [SwitchBot] TypeError: Cannot read properties of undefined (reading 'turnOn')
[16/02/2024, 13:36:17] [SwitchBot] Bot: KM Switch Retrying
[16/02/2024, 13:36:18] [SwitchBot] TypeError: Cannot read properties of undefined (reading 'turnOn')
[16/02/2024, 13:36:18] [SwitchBot] Bot: KM Switch Retrying
[16/02/2024, 13:36:19] [SwitchBot] TypeError: Cannot read properties of undefined (reading 'turnOn')
[16/02/2024, 13:36:19] [SwitchBot] Bot: KM Switch Retrying
[16/02/2024, 13:36:19] [SwitchBot] [DEBUG] Bot: PC BLERefreshStatus
[16/02/2024, 13:36:19] [SwitchBot] [DEBUG] Bot: PC BLE Address: XX
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -54,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -58,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -57,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:36:20] [SwitchBot] TypeError: Cannot read properties of undefined (reading 'turnOn')
[16/02/2024, 13:36:20] [SwitchBot] Bot: KM Switch Retrying
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC BLEparseStatus
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC Press Mode, mode: undefined, On: false
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic On: false
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:36:20] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:36:21] [SwitchBot] TypeError: Cannot read properties of undefined (reading 'turnOn')
[16/02/2024, 13:36:21] [SwitchBot] Bot: KM Switch Retrying
[16/02/2024, 13:36:22] [SwitchBot] Bot: KM Switch failed BLEpushChanges with BLE Connection & botMode: switch, Error Message: "Cannot read properties of undefined (reading 'turnOn')"
[16/02/2024, 13:36:27] [SwitchBot] [DEBUG] Bot: KM Switch BLERefreshStatus
[16/02/2024, 13:36:27] [SwitchBot] [DEBUG] Bot: KM Switch BLE Address: XX
[16/02/2024, 13:36:28] [SwitchBot] [DEBUG] Bot: KM Switch BLEparseStatus
[16/02/2024, 13:36:28] [SwitchBot] [DEBUG] Bot: KM Switch Press Mode, mode: undefined, On: false
[16/02/2024, 13:36:28] [SwitchBot] [DEBUG] Bot: KM Switch BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:36:28] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic On: false
[16/02/2024, 13:36:28] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:36:28] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC BLERefreshStatus
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC BLE Address: XX
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: KM Switch BLERefreshStatus
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: KM Switch BLE Address: XX
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -51,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -51,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:36:39] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC {
  "id": "XX",
  "address": "XX",
  "rssi": -54,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "mode": false,
    "state": true,
    "battery": 95
  }
}
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC address: XX, model: undefined
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":true,"battery":95}
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC BLEparseStatus
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC Press Mode, mode: undefined, On: false
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic On: false
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: PC updateCharacteristic StatusLowBattery: 0
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: KM Switch BLEparseStatus
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: KM Switch Press Mode, mode: undefined, On: false
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: KM Switch BatteryLevel: 100, StatusLowBattery: 0
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic On: false
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic BatteryLevel: 100
[16/02/2024, 13:36:40] [SwitchBot] [DEBUG] Bot: KM Switch updateCharacteristic StatusLowBattery: 0
```


### Config for homebridge-switchbot

```shell
{
    "name": "SwitchBot",
    "credentials": {
        "token": "XXXXX",
        "secret": "XXXXX",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "deviceId": "XX",
                "configDeviceName": "PC",
                "configDeviceType": "Bot",
                "connectionType": "BLE",
                "bot": {
                    "deviceType": "switch"
                },
                "logging": "debug"
            },
            {
                "deviceId": "XX",
                "configDeviceName": "KM Switch",
                "configDeviceType": "Bot",
                "connectionType": "BLE",
                "bot": {
                    "deviceType": "switch"
                },
                "logging": "debug"
            }
        ]
    },
    "platform": "SwitchBot"
}
```


### Screenshots

_No response_

### Device & Model

Switchbot Bot with Firmware v4.9 working, the new one that is not working has V6.6

### Node.js Version

v18.19.0 

### NPM Version

Sorry, don't know what that is ;(

### Homebridge Version

1.7.0

### Homebridge SwitchBot Plugin Version

3.4.0 and 3.5.b1

### Homebridge Config UI X Plugin Version

_No response_

### Operating System

I installed Homebridge directly with the installer on my pi4