Bug: Curtain closed in SwitchBot app, appears open in Homekit
### Describe The Bug

Curtain closed in SwitchBot app, appears open in Homekit

### To Reproduce

Calibrate curtain, close, check homekit

### Expected behavior

Closed in Switch app is closed in Homekit

### Relevant log output

```shell
[18/11/2022, 19:44:38] [SwitchBot] [DEBUG] Curtain: Gordijnen openAPIRefreshStatus
[18/11/2022, 19:44:38] [SwitchBot] [DEBUG] Curtain: Gordijnen sign: 3uAxyhUQam0bUot5fe8Ccgyim0m+p93FbW0ZuzbLXXXX
[18/11/2022, 19:44:38] [SwitchBot] [DEBUG] Curtain: Gordijn rechts openAPIRefreshStatus
[18/11/2022, 19:44:38] [SwitchBot] [DEBUG] Curtain: Gordijn rechts sign: akcDya7YGig8kqJjop9mYyq7FzGRoNp0pLDF2xxwXXXX
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen statusCode: 200
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen d: {"statusCode":100,"body":{"deviceId":"E3255EA7XXXX","deviceType":"Curtain","hubDeviceId":"CD482162XXXX","slidePosition":0},"message":"success"}
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen refreshStatus: {"statusCode":100,"body":{"deviceId":"E3255EA7XXXX","deviceType":"Curtain","hubDeviceId":"CD482162XXXX","slidePosition":0},"message":"success"}
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen openAPIparseStatus
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain Gordijnen CurrentPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen Standby, CurrentPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen Stopped
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen CurrentPosition: 100, TargetPosition: 100, PositionState: 2,
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen CurrentAmbientLightLevel: 6001
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen updateCharacteristic CurrentPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen updateCharacteristic PositionState: 2
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen updateCharacteristic TargetPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijnen updateCharacteristic CurrentAmbientLightLevel: 6001
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts statusCode: 200
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts d: {"statusCode":100,"body":{"deviceId":"F4786AF8XXXX","deviceType":"Curtain","hubDeviceId":"CD482162XXXX","slidePosition":0},"message":"success"}
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts refreshStatus: {"statusCode":100,"body":{"deviceId":"F4786AF8XXXX","deviceType":"Curtain","hubDeviceId":"CD482162XXXX","slidePosition":0},"message":"success"}
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts openAPIparseStatus
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain Gordijn rechts CurrentPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts Standby, CurrentPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts Stopped
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts CurrentPosition: 100, TargetPosition: 100, PositionState: 2,
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts CurrentAmbientLightLevel: 6001
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts updateCharacteristic CurrentPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts updateCharacteristic PositionState: 2
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts updateCharacteristic TargetPosition: 100
[18/11/2022, 19:44:39] [SwitchBot] [DEBUG] Curtain: Gordijn rechts updateCharacteristic CurrentAmbientLightLevel: 6001
[18/11/2022, 19:45:31] [SwitchBot] [DEBUG] Curtain: Gordijnen No Changes, Set TargetPosition: 33
[18/11/2022, 19:45:31] [SwitchBot] [DEBUG] Curtain: Gordijnen value: 33, CurrentPosition: 100
[18/11/2022, 19:45:31] [SwitchBot] [DEBUG] Curtain: Gordijnen updateRate: 7
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen OpenAPI pushChanges
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen sign: dn49xvlcZxmS+HyBT9vAMP8NEsyxpiIwxUbm6GRwXXXX
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Pushing 33
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Gordijnen Mode: Default Mode
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen Sending request to SwitchBot API, body: {"command":"setPosition","parameter":"0,ff,67","commandType":"command"},
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen openAPIpushChanges: {"_events":{"response":[Function],"error":[Function]},"_eventsCount":2,"_maxListeners":[Undefined],"outputData":[{"data":"POST /v1.1/devices/E3255EA7XXXX/commands HTTP/1.1\r\nAuthorization: 8668c1cd56faef6d66e6226497b815c36ea08c41c1a47b8a715a548c83d4258c0ff370ad65f65fffe050e1d84a81XXXX\r\nsign: dn49xvlcZxmS+HyBT9vAMP8NEsyxpiIwxUbm6GRwXXXX\r\nnonce: requestID\r\nt: 166879713XXXX\r\nContent-Type: application/json\r\nContent-Length: 71\r\nHost: api.switch-bot.com\r\nConnection: close\r\n\r\n{\"command\":\"setPosition\",\"parameter\":\"0,ff,67\",\"commandType\":\"command\"}","encoding":[Undefined],"callback":[Function]},{"data":"","encoding":"latin1","callback":[Function]}],"outputSize":422,"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":71,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"socket":null,"_header":"POST /v1.1/devices/E3255EA7XXXX/commands HTTP/1.1\r\nAuthorization: 8668c1cd56faef6d66e6226497b815c36ea08c41c1a47b8a715a548c83d4258c0ff370ad65f65fffe050e1d84a81XXXX\r\nsign: dn49xvlcZxmS+HyBT9vAMP8NEsyxpiIwxUbm6GRwXXXX\r\nnonce: requestID\r\nt: 166879713XXXX\r\nContent-Type: application/json\r\nContent-Length: 71\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":{"noDelay":true,"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/E3255EA7XXXX/commands","_ended":false,"res":null,"aborted":false,"timeoutCb":null,"upgradeOrConnect":false,"parser":null,"maxHeadersCount":null,"reusedSocket":false,"host":"api.switch-bot.com","protocol":"https:"}
[18/11/2022, 19:45:32] [SwitchBot] Curtain: Gordijnen Set TargetPosition: 0
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen value: 0, CurrentPosition: 100
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen updateRate: 7
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen OpenAPI pushChanges
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen sign: 8zDRMazsiyBs8yYNno3veYYXMJp5+AtxKSyYyKFnXXXX
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Pushing 0
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Gordijnen Mode: Default Mode
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen Sending request to SwitchBot API, body: {"command":"setPosition","parameter":"0,ff,100","commandType":"command"},
[18/11/2022, 19:45:32] [SwitchBot] [DEBUG] Curtain: Gordijnen openAPIpushChanges: {"_events":{"response":[Function],"error":[Function]},"_eventsCount":2,"_maxListeners":[Undefined],"outputData":[{"data":"POST /v1.1/devices/E3255EA7XXXX/commands HTTP/1.1\r\nAuthorization: 8668c1cd56faef6d66e6226497b815c36ea08c41c1a47b8a715a548c83d4258c0ff370ad65f65fffe050e1d84a81XXXX\r\nsign: 8zDRMazsiyBs8yYNno3veYYXMJp5+AtxKSyYyKFnXXXX\r\nnonce: requestID\r\nt: 166879713XXXX\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/E3255EA7XXXX/commands HTTP/1.1\r\nAuthorization: 8668c1cd56faef6d66e6226497b815c36ea08c41c1a47b8a715a548c83d4258c0ff370ad65f65fffe050e1d84a81XXXX\r\nsign: 8zDRMazsiyBs8yYNno3veYYXMJp5+AtxKSyYyKFnXXXX\r\nnonce: requestID\r\nt: 166879713XXXX\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":{"noDelay":true,"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],[Function]],"end":[[Function],[Function],[Function]],"newListener":[Function],"secure":[Function],"session":[Function],"free":[Function],"timeout":[Function],"agentRemove":[Function],"error":[Function],"data":[Function],"drain":[Function]},"_eventsCount":11,"connecting":false,"_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":true,"ended":false,"endEmitted":false,"reading":true,"constructed":true,"sync":false,"needReadable":true,"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":422,"writing":true,"corked":0,"sync":false,"bufferProcessing":false,"onwrite":[Function],"writecb":[Function],"writelen":422,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":1,"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":true,"onconnection":null},"_parentWrap":[Undefined],"_secureContext":[ReferenceTo this.agent.sockets.api.switch-bot.com:443:::::::::::::::::::::[0]._tlsOptions.secureContext],"reading":true,"onkeylog":[Function],"onhandshakestart":[Function],"onhandshakedone":[Function],"onocspresponse":[Function],"onnewsession":[Function],"onerror":[Function]},"_requestCert":true,"_rejectUnauthorized":true,"parser":{"0":null,"1":[Function],"2":[Function],"3":[Function],"4":[Function],"5":null,"6":null,"_headers":[],"_url":"","socket":[ReferenceTo this.agent.sockets.api.switch-bot.com:443:::::::::::::::::::::[0]],"incoming":null,"outgoing":{"_events":{"response":
```


### Config for homebridge-switchbot

```shell
{
    "name": "SwitchBot",
    "credentials": {
        "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "notice": "Keep your token a secret!"
    },
    "options": {
        "logging": "standard"
    },
    "platform": "SwitchBot"
}
```


### Screenshots

<a><img src="https://user-images.githubusercontent.com/9421474/202243417-2e05e66f-6bfe-41c4-a310-3bd3861cf857.jpeg" width="250px"></a><a><img src="https://user-images.githubusercontent.com/9421474/202243886-1728855f-a879-454b-8e92-437f57323728.jpg" width="250px"></a>

### Device & Model

Switch Curtain

### Node.js Version

v18.12.1

### NPM Version

v8.19.2

### Homebridge Version

v1.5.1

### Homebridge Switchbot Plugin Version

v2.2.2

### Homebridge Config UI X Plugin Version

v4.50.2

### Operating System

Raspbian Bullseye