Plugin update error
### Describe the Bug

I'm getting this error when updating the plugin through the Homebridge-Config-UI-X plugin screen. I also get it when trying to uninstall the plugin.

This is the only plugin i get the error for. All the others install/uninstall as expected.

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

Update plugin

### Expected Behavior

Plugin updates

### Relevant Log Output

```shell
USER: pi
DIR: /var/lib/homebridge
CMD: npm install --save @switchbot/homebridge-switchbot@3.6.0
⠙
⠹
⠸
⠼
⠴
⠦
⠧
⠇
⠏
⠋
⠙
⠹
⠸
⠼
⠴
⠦
⠧
⠇
⠏
⠋
⠙
⠹
⠸
⠼
⠴
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'
⠴

⠴
npm error A complete log of this run can be found in: /home/pi/.npm/_logs/2024-07-07T05_57_16_255Z-debug-0.log
⠴


Operation failed with code 217.

You can download this log file for future reference.

See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
```


### Config for homebridge-switchbot

```shell
{
    "name": "SwitchBot",
    "credentials": {
        "token": "TOKEN",
        "secret": "99f86d73a8c2a6e7402e60a6217874ae",
        "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/dc84425f-369d-4825-952b-35f048b5155e)


### Device and Model

Homebridge Raspberry Pi 4

### Node.js Version

20.15.0

### NPM Version

10.7.0

### Homebridge Version

1.8.3

### Homebridge Switchbot Plugin Version

3.6.0

### Homebridge Config UI X Plugin Version

4.56.4

### Operating System

Homebridge