Bug: Curtains do not open or close via OpenAPI
### Describe The Bug

Curtain control does not work

### To Reproduce

When pressing open or close curtain nothing happens

### Expected behavior

Curtains to open and close

### Relevant log output

```shell
[11/8/2022, 11:17:54 AM] [SwitchBot] Curtain: Bedroom Curtain Set TargetPosition: 0
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain value: 0, CurrentPosition: 100
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain updateRate: 7
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain OpenAPI pushChanges
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain sign: Kqnp2Ff6mVu4i8nZPAoyfrwwr3pLUd7yWtjJ90jAhqo=
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Pushing 0
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Bedroom Curtain Mode: Default Mode
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain Sending request to SwitchBot API, body: {"command":"setPosition","parameter":"0,ff,100","commandType":"command"},
[11/8/2022, 11:17:54 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain openAPIpushChanges: {"_events":{"response":[Function],"error":[Function]},"_eventsCount":2,"_maxListeners":[Undefined],"outputData":[{"data":"POST /v1.1/devices/E2764161B173/commands HTTP/1.1\r\nAuthorization: 34da10238deb6936ec4fb43c2d0af6d40f37d3ca36daf131865388afd00ad4cb989c33297fa73e4e84d66d106756a710\r\nsign: Kqnp2Ff6mVu4i8nZPAoyfrwwr3pLUd7yWtjJ90jAhqo=\r\nnonce: requestID\r\nt: 1667902674309\r\nContent-Type: application/json\r\nContent-Length: 72\r\nHost: api.switch-bot.com\r\nConnection: close\r\n\r\n{\"command\":\"setPosition\",\"parameter\":\"0,ff,100\",\"commandType\":\"command\"}","encoding":[Undefined],"callback":[Function]},{"data":"","encoding":"latin1","callback":[Function]}],"outputSize":423,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":72,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"socket":null,"_header":"POST /v1.1/devices/E2764161B173/commands HTTP/1.1\r\nAuthorization: 34da10238deb6936ec4fb43c2d0af6d40f37d3ca36daf131865388afd00ad4cb989c33297fa73e4e84d66d106756a710\r\nsign: Kqnp2Ff6mVu4i8nZPAoyfrwwr3pLUd7yWtjJ90jAhqo=\r\nnonce: requestID\r\nt: 1667902674309\r\nContent-Type: application/json\r\nContent-Length: 72\r\nHost: api.switch-bot.com\r\nConnection: close\r\n\r\n","_keepAliveTimeout":0,"_onPendingData":[ReferenceTo this.outputData[0].callback],"agent":{"_events":{"free":[Function],"newListener":[Function]},"_eventsCount":2,"_maxListeners":[Undefined],"defaultPort":443,"protocol":"https:","options":{"path":null},"requests":{},"sockets":{"api.switch-bot.com:443:::::::::::::::::::::":[{"_tlsOptions":{"allowHalfOpen":[Undefined],"pipe":false,"secureContext":{"context":{}},"isServer":false,"requestCert":true,"rejectUnauthorized":true,"session":[Undefined],"ALPNProtocols":[Undefined],"requestOCSP":[Undefined],"enableTrace":[Undefined],"pskCallback":[Undefined],"highWaterMark":[Undefined],"onread":[Undefined],"signal":[Undefined]},"_secureEstablished":false,"_securePending":false,"_newSessionPending":false,"_controlReleased":true,"secureConnecting":true,"_SNICallback":null,"servername":null,"alpnProtocol":null,"authorized":false,"authorizationError":null,"encrypted":true,"_events":{"close":[[Function],[Function],[Function]],"end":[[Function],[Function]],"newListener":[Function],"connect":[Function],"secure":[Function],"session":[Function],"free":[Function],"timeout":[Function],"agentRemove":[Function]},"_eventsCount":9,"connecting":true,"_hadError":false,"_parent":null,"_host":"api.switch-bot.com","_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"constructed":true,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_maxListeners":[Undefined],"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"onwrite":[Function],"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":[Undefined],"_server":null,"ssl":{"_parent":{"reading":false,"onconnection":null},"_parentWrap":[Undefined],"_secureContext":[ReferenceTo this.agent.sockets.api.switch-bot.com:443:::::::::::::::::::::[0]._tlsOptions.secureContext],"reading":false,"onkeylog":[Function],"onhandshakestart":[Function],"onhandshakedone":[Function],"onocspresponse":[Function],"onnewsession":[Function],"onerror":[Function]},"_requestCert":true,"_rejectUnauthorized":true}]},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}},"socketPath":[Undefined],"method":"POST","maxHeaderSize":[Undefined],"insecureHTTPParser":[Undefined],"path":"/v1.1/devices/E2764161B173/commands","_ended":false,"res":null,"aborted":false,"timeoutCb":null,"upgradeOrConnect":false,"parser":null,"maxHeadersCount":null,"reusedSocket":false,"host":"api.switch-bot.com","protocol":"https:"}
[11/8/2022, 11:17:55 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain openAPIpushChanges statusCode: 200
[11/8/2022, 11:17:55 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain Unknown statusCode.
[11/8/2022, 11:17:55 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain d: {"statusCode":100,"body":{"items":[{"deviceID":"E2764161B173","code":100,"status":{"deviceChain":2,"isCalibrate":true,"isMaster":true,"position":100,"power":"on","battery":59,"isGroup":false,"isMove":0},"message":"ok"}]},"message":"success"}
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain Refresh Status When Moving, PositionState: 0
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain openAPIRefreshStatus
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain sign: uVMMOrnGVjanpxNHgVdyyzWyTjeIfQyNkzDL1TgwsAs=
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain statusCode: 200
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain d: {"statusCode":100,"body":{"deviceId":"E2764161B173","deviceType":"Curtain","hubDeviceId":"C33485982EF2","calibrate":true,"group":false,"moving":0,"slidePosition":0},"message":"success"}
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain refreshStatus: {"statusCode":100,"body":{"deviceId":"E2764161B173","deviceType":"Curtain","hubDeviceId":"C33485982EF2","calibrate":true,"group":false,"moving":0,"slidePosition":0},"message":"success"}
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain openAPIparseStatus
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain Bedroom Curtain CurrentPosition: 100
[11/8/2022, 11:17:57 AM] [SwitchBot] Curtain: Bedroom Curtain Checking Status ...
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain Standby, CurrentPosition: 100
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain Stopped
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain CurrentPosition: 100, TargetPosition: 100, PositionState: 2,
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain CurrentAmbientLightLevel: 6001
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain updateCharacteristic CurrentPosition: 100
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain updateCharacteristic PositionState: 2
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain updateCharacteristic TargetPosition: 100
[11/8/2022, 11:17:57 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain updateCharacteristic CurrentAmbientLightLevel: 6001
[11/8/2022, 11:18:01 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain setNewTarget true timeout
[11/8/2022, 11:18:09 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain openAPIRefreshStatus
[11/8/2022, 11:18:09 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain sign: cRoH3O/wtaV/I6i2oeJS7of1U8c5+/qizxEEQ2B5Xuk=
[11/8/2022, 11:18:09 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain statusCode: 200
[11/8/2022, 11:18:09 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain d: {"statusCode":100,"body":{"deviceId":"E2764161B173","deviceType":"Curtain","hubDeviceId":"C33485982EF2","calibrate":true,"group":false,"moving":0,"slidePosition":0},"message":"success"}
[11/8/2022, 11:18:09 AM] [SwitchBot] [DEBUG] Curtain: Bedroom Curtain refreshStatus: {"statusCode":100,"body":{"deviceId":"E2764161B173","deviceType":"Curtain","hubDeviceId":"C33485982EF2","calibrate":true,"group":false,"moving":0,"slidePosition":0},"message":"success"}
```


### Config for homebridge-switchbot

```shell
{
            "name": "SwitchBot",
            "credentials": {
                "token": "XXXXXXX",
                "secret": "XXXXXXX",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "E2764161B173",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "logging": "debug"
                    }
                ],
                "refreshRate": 90,
                "logging": "debug"
            },
            "_bridge": {
                "username": "0E:95:3A:25:22:3A",
                "port": 47907
            },
            "platform": "SwitchBot"
        },
```


### Screenshots

_No response_

### Device & Model

Switchbot hub mini is running beta firmware V5.2-3.2 

### Node.js Version

v16.8

### NPM Version

v7.22

### Homebridge Version

v1.5.1

### Homebridge Switchbot Plugin Version

v2.3.0-beta.2

### Homebridge Config UI X Plugin Version

_No response_

### Operating System

Synology via Docker