Bug: Curtain scanDuration is less then updateRate, overriding scanDuration with updateRate
### Describe The Bug

A scanDuration < updateRate warning is logged when default values are used, there is a second warning logged (https://github.com/OpenWonderLabs/homebridge-switchbot/blob/dc0ce6e/src/device/curtain.ts#L968) with the same message which looks like a mistake. There is a typo with "then" too.

### To Reproduce

Start Homebridge

### Expected behavior

No log warning

### Relevant log output

```shell
[28/12/2022, 17:41:35] [SwitchBot] Curtain: Curtain scanDuration is less then updateRate, overriding scanDuration with updateRate
[28/12/2022, 17:41:35] [SwitchBot] Curtain: Curtain Config: {"set_min":10,"set_max":90,"hide_lightsensor":false,"set_minlux":1,"set_maxlux":6001,"connectionType":"BLE","logging":"standard","maxRetry":0}
```



### Config for homebridge-switchbot

```
{
    "deviceId": "<id>",
    "configDeviceName": "Curtain",
    "configDeviceType": "Curtain",
    "connectionType": "BLE",
    "curtain": {
        "set_min": 10,
        "set_max": 90,
        "hide_lightsensor": false,
        "set_minlux": 1,
        "set_maxlux": 6001
    },
    "maxRetry": 0,
    "logging": "standard"
}
```


### Screenshots

_No response_

### Device & Model

SwitchBot Curtain W0701600

### Node.js Version

v18.12.1

### NPM Version

v8.19.2

### Homebridge Version

v1.6.0

### Homebridge Switchbot Plugin Version

v2.4.0

### Homebridge Config UI X Plugin Version

v4.50.2

### Operating System

Raspbian