Bug: IR Fan  throwing error in the logs on 4.0.0 worked fine on 3.8.3
### Describe the Bug

I have an IR controlled fan that worked fine under 3.8.3 and since upgrading to 4.0.0 I'm getting the following

v4.0.0 - Fan works but strange error in the logs. Apple Home thinks the fan is not responsive but it works anyway.
[10/14/2024, 9:08:33 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/14/2024, 9:08:33 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"

3.8.3 - Fan works and no error. Apple home works as normal.
[10/17/2024, 10:09:59 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"},
[10/17/2024, 10:10:04 PM] [SwitchBot] Fan: Bedroom Fan request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"} sent successfully


### To Reproduce

upgrade to 4.0.0

### Expected Behavior

Fan should work as in 3.8.3 and not throw the error and not show non-responsive in Apple Home.

### Relevant Log Output

```shell
[10/14/2024, 10:59:47 AM] [SwitchBot] Initializing SwitchBot platform...
[10/14/2024, 10:59:47 AM] [SwitchBot] Initializing child bridge 0E:91:44:A2:6B:F7
[10/14/2024, 10:59:51 AM] [SwitchBot] Launched child bridge with PID 445
[10/14/2024, 10:59:59 AM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.0.0 child bridge successfully
[10/14/2024, 10:59:59 AM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/14/2024, 11:00:00 AM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/14/2024, 11:00:00 AM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/14/2024, 9:08:33 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/14/2024, 9:08:33 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/15/2024, 6:00:18 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/15/2024, 6:00:19 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/15/2024, 6:00:46 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/15/2024, 6:00:56 AM] [SwitchBot] Fan: Bedroom Fan Unknown statusCode: undefined, Submit Bugs Here: https://tinyurl.com/SwitchBotBug, statusCode: undefined
[10/15/2024, 6:45:03 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/15/2024, 6:45:03 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/15/2024, 9:25:16 PM] [SwitchBot] Restarting child bridge...
[10/15/2024, 9:25:16 PM] Got SIGTERM, shutting down child bridge process...
[10/15/2024, 9:25:21 PM] [SwitchBot] Child bridge process ended
[10/15/2024, 9:25:21 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/15/2024, 9:25:28 PM] [SwitchBot] Restarting Process...
[10/15/2024, 9:25:28 PM] [SwitchBot] Launched child bridge with PID 39437
[10/15/2024, 9:25:30 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/15/2024, 9:25:30 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.0.0 child bridge successfully
[10/15/2024, 9:25:30 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/15/2024, 9:25:30 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/15/2024, 9:25:30 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/15/2024, 9:55:47 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/15/2024, 9:55:47 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/16/2024, 2:31:46 AM] [SwitchBot] Color Bulb: Sink Set On: false
[10/16/2024, 6:00:19 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/16/2024, 6:00:19 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/16/2024, 6:00:46 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/16/2024, 6:00:46 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/16/2024, 6:45:03 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/16/2024, 6:45:03 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/16/2024, 4:07:41 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/16/2024, 4:07:41 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/16/2024, 4:12:46 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/16/2024, 4:12:46 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/16/2024, 11:06:53 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/16/2024, 11:06:53 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 6:00:11 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 6:00:11 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 6:00:40 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 6:00:40 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 6:04:51 AM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 6:04:51 AM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 9:10:29 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 9:10:30 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:00:43 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:00:43 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:00:48 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:00:49 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:01:13 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:01:13 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:01:13 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:01:13 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:01:13 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:01:14 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:01:24 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:01:24 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:02:32 PM] [SwitchBot] Restarting child bridge...
[10/17/2024, 10:02:32 PM] Got SIGTERM, shutting down child bridge process...
[10/17/2024, 10:02:37 PM] [SwitchBot] Child bridge process ended
[10/17/2024, 10:02:37 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/17/2024, 10:02:44 PM] [SwitchBot] Restarting Process...
[10/17/2024, 10:02:44 PM] [SwitchBot] Launched child bridge with PID 93963
[10/17/2024, 10:02:46 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/17/2024, 10:02:46 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.0.0 child bridge successfully
[10/17/2024, 10:02:46 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/17/2024, 10:02:47 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/17/2024, 10:02:47 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/17/2024, 10:03:45 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:03:46 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:07:46 PM] [SwitchBot] Restarting child bridge...
[10/17/2024, 10:07:46 PM] Got SIGTERM, shutting down child bridge process...
[10/17/2024, 10:07:51 PM] [SwitchBot] Child bridge process ended
[10/17/2024, 10:07:51 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/17/2024, 10:07:58 PM] [SwitchBot] Restarting Process...
[10/17/2024, 10:07:58 PM] [SwitchBot] Launched child bridge with PID 94270
[10/17/2024, 10:08:00 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/17/2024, 10:08:00 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.0.1-beta.1 child bridge successfully
[10/17/2024, 10:08:00 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/17/2024, 10:08:00 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/17/2024, 10:08:00 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/17/2024, 10:08:48 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:08:48 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:09:09 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: [object Object],
[10/17/2024, 10:09:09 PM] [SwitchBot] Fan: Bedroom Fan failed pushChanges with OpenAPI Connection, Error Message: "\"[object Object]\" is not valid JSON"
[10/17/2024, 10:09:37 PM] [SwitchBot] Restarting child bridge...
[10/17/2024, 10:09:37 PM] Got SIGTERM, shutting down child bridge process...
[10/17/2024, 10:09:42 PM] [SwitchBot] Child bridge process ended
[10/17/2024, 10:09:42 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/17/2024, 10:09:49 PM] [SwitchBot] Restarting Process...
[10/17/2024, 10:09:50 PM] [SwitchBot] Launched child bridge with PID 94514
[10/17/2024, 10:09:52 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/17/2024, 10:09:52 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.8.3 child bridge successfully
[10/17/2024, 10:09:52 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/17/2024, 10:09:52 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/17/2024, 10:09:52 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/17/2024, 10:09:59 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"},
[10/17/2024, 10:10:04 PM] [SwitchBot] Fan: Bedroom Fan request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"} sent successfully
[10/17/2024, 10:11:15 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: {"command":"turnOff","parameter":"default","commandType":"command"},
[10/17/2024, 10:11:15 PM] [SwitchBot] Fan: Bedroom Fan request to SwitchBot API, body: {"command":"turnOff","parameter":"default","commandType":"command"} sent successfully
[10/17/2024, 10:11:17 PM] [SwitchBot] Restarting child bridge...
[10/17/2024, 10:11:17 PM] Got SIGTERM, shutting down child bridge process...
[10/17/2024, 10:11:22 PM] [SwitchBot] Child bridge process ended
[10/17/2024, 10:11:22 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/17/2024, 10:11:29 PM] [SwitchBot] Restarting Process...
[10/17/2024, 10:11:30 PM] [SwitchBot] Launched child bridge with PID 94701
[10/17/2024, 10:11:32 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/17/2024, 10:11:32 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.0.0 child bridge successfully
[10/17/2024, 10:11:32 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/17/2024, 10:11:32 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/17/2024, 10:11:32 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/17/2024, 10:18:56 PM] [SwitchBot] Restarting child bridge...
[10/17/2024, 10:18:56 PM] Got SIGTERM, shutting down child bridge process...
[10/17/2024, 10:19:01 PM] [SwitchBot] Child bridge process ended
[10/17/2024, 10:19:01 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/17/2024, 10:19:08 PM] [SwitchBot] Restarting Process...
[10/17/2024, 10:19:08 PM] [SwitchBot] Launched child bridge with PID 95028
[10/17/2024, 10:19:10 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/17/2024, 10:19:10 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.8.3 child bridge successfully
[10/17/2024, 10:19:10 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/17/2024, 10:19:10 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/17/2024, 10:19:10 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/17/2024, 10:19:13 PM] [SwitchBot] Fan: Bedroom Fan Sending request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"},
[10/17/2024, 10:19:14 PM] [SwitchBot] Fan: Bedroom Fan request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"} sent successfully
[10/17/2024, 10:21:30 PM] [SwitchBot] Restarting child bridge...
[10/17/2024, 10:21:30 PM] Got SIGTERM, shutting down child bridge process...
[10/17/2024, 10:21:35 PM] [SwitchBot] Child bridge process ended
[10/17/2024, 10:21:35 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[10/17/2024, 10:21:42 PM] [SwitchBot] Restarting Process...
[10/17/2024, 10:21:42 PM] [SwitchBot] Launched child bridge with PID 95348
[10/17/2024, 10:21:44 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[10/17/2024, 10:21:44 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.8.3 child bridge successfully
[10/17/2024, 10:21:44 PM] Loaded 8 cached accessories from cachedAccessories.0E9144A26BF7.
[10/17/2024, 10:21:44 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 34697.
[10/17/2024, 10:21:44 PM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0
```


### Config for homebridge-switchbot

```shell
{
    "name": "SwitchBot",
    "credentials": {
        "token": "REMOVED",
        "secret": "REMOVED",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "refreshRate": 3600,
        "logging": "none"
    },
    "_bridge": {
        "username": "0E:91:44:A2:6B:F7",
        "port": 34697
    },
    "platform": "SwitchBot"
}
```


### Screenshots

_No response_

### Device and Model

N/A

### Node.js Version

v20.18.0

### NPM Version

10.8.2

### Homebridge Version

1.8.4

### Homebridge Switchbot Plugin Version

4.0.0

### Homebridge Config UI X Plugin Version

4.61.0

### Operating System

Docker on Synology