Accessory error in 3.5.1
### Describe the Bug

After I have updated to 3.5.1, the Bot I have exposed to the Home app as a switch, now displays as an outlet.

Even if I change it to something else, like a fan or faucet etc in the plugin config, it still appears as an outlet.

I have tried to downgrade, but I get this error.

npm error code ENOTEMPTY
npm error syscall rename
npm error path /var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot
npm error dest /var/lib/homebridge/node_modules/@switchbot/.homebridge-switchbot-cCp4HJsc
npm error errno -39
npm error ENOTEMPTY: directory not empty, rename '/var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot' -> '/var/lib/homebridge/node_modules/@switchbot/.homebridge-switchbot-cCp4HJsc'

### To Reproduce

Install 3.5.1 on Raspberry Pi 4, with hub mini and Bot

### Expected Behavior

Bot to be exposed to the Home app as the selected switch.

### Relevant Log Output

```shell
[28/06/2024, 14:21:49] [SwitchBot] Total SwitchBot Devices Found: 2
[28/06/2024, 14:21:49] [SwitchBot] Restoring existing accessory from cache: HOME-PC deviceId: EC6D55CDE3C7
[28/06/2024, 14:24:30] [SwitchBot] Initializing SwitchBot platform...
[28/06/2024, 14:24:30] [SwitchBot] Initializing child bridge 0E:08:72:D9:D4:44
[28/06/2024, 14:24:30] Loading 2 accessories...
[28/06/2024, 14:24:33] [SwitchBot] Launched child bridge with PID 50461
[28/06/2024, 14:24:33] Loaded 0 cached accessories from cachedAccessories.0EDD2E555048.
[28/06/2024, 14:24:33] Loaded 0 cached accessories from cachedAccessories.0E7B4F9B2994.
[28/06/2024, 14:24:40] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.5.1 child bridge successfully
[28/06/2024, 14:24:40] Loaded 1 cached accessories from cachedAccessories.0E0872D9D444.
[28/06/2024, 14:24:41] [SwitchBot] Total SwitchBot Devices Found: 2
[28/06/2024, 14:24:41] [SwitchBot] Restoring existing accessory from cache: HOME-PC deviceId: EC6D55CDE3C7
[28/06/2024, 14:32:55] [SwitchBot] Restarting child bridge...
[28/06/2024, 14:32:55] Got SIGTERM, shutting down child bridge process...
[28/06/2024, 14:33:00] [SwitchBot] Child bridge process ended
[28/06/2024, 14:33:00] [SwitchBot] Process Ended. Code: 143, Signal: null
[28/06/2024, 14:33:07] [SwitchBot] Restarting Process...
[28/06/2024, 14:33:07] [SwitchBot] Launched child bridge with PID 52258
[28/06/2024, 14:33:10] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[28/06/2024, 14:33:11] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.5.1 child bridge successfully
[28/06/2024, 14:33:11] Loaded 1 cached accessories from cachedAccessories.0E0872D9D444.
[28/06/2024, 14:33:11] Homebridge v1.8.3 (HAP v0.12.2) (SwitchBot) is running on port 48515.
[28/06/2024, 14:33:12] [SwitchBot] Total SwitchBot Devices Found: 2
[28/06/2024, 14:33:12] [SwitchBot] Restoring existing accessory from cache: HOME-PC deviceId: EC6D55CDE3C7
```


### Config for homebridge-switchbot

```shell
{
    "name": "SwitchBot",
    "credentials": {
        "token": "12345678910",
        "secret": "12345678910",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "deviceId": "EC6D55CDE3C7",
                "configDeviceName": "HOME-PC",
                "configDeviceType": "Bot",
                "connectionType": "OpenAPI",
                "scanDuration": 1,
                "bot": {
                    "mode": "press",
                    "deviceType": "switch",
                    "allowPush": true,
                    "doublePress": 1
                },
                "maxRetry": 25,
                "refreshRate": 360,
                "offline": false,
                "external": false
            }
        ],
        "refreshRate": 360
    },
    "_bridge": {
        "username": "0E:08:72:D9:D4:44",
        "port": 48515
    },
    "platform": "SwitchBot"
}
```


### Screenshots

![image](https://github.com/OpenWonderLabs/homebridge-switchbot/assets/101009921/52ec3cb8-a81c-46f8-af3d-d075905a4436)


### Device and Model

Switch Bot

### Node.js Version

29.15.0

### NPM Version

10.7.0

### Homebridge Version

1.8.3

### Homebridge Switchbot Plugin Version

3.5.1

### Homebridge Config UI X Plugin Version

4.56.4

### Operating System

Homebridge