Bug: MQTT advertisements do not work in v3.6.0 or later
### Describe the Bug

MQTT advertisements #337 do not work in v3.6.0 or later
I subscribed to all topics of the MQTT broker but no topics were received from homebridge-switchbot

### To Reproduce

Update to v3.6.0 or later.

### Expected Behavior

No error, and in v3.5.0 it works.

### Relevant Log Output

```shell
V3.8.1 log
[2024/9/15 15:36:49] Homebridge v1.8.4 (HAP v0.12.2) (Homebridge 682E) is running on port 51765.
[2024/9/15 15:36:49] 

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

[2024/9/15 15:36:49] [SwitchBot] Webhook is configured to be received through mqtt://localhost/homebridge-switchbot/webhook.
[2024/9/15 15:36:50] [SwitchBot] Restoring existing accessory from cache: meter1 deviceId: xxxxxxxxxx
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Device Config Logging: debug
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Platform Config refreshRate: 300, Default updateRate: 5, Platform Config pushRate: 0.1
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Default Max Retries: 5, Default Delay Between Retries: 3000
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Model: SwitchBot MeterTH S1, BLE Model: T, BLE Model Name: WoSensorTH, BLE Model Friendly Name: undefined
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Device Config MQTT URL: mqtt://localhost, Default mqttOptions: {}, Device Config mqttPubOptions: "{\"retain\": true}"
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Retrieve initial values and update Homekit
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 openAPIRefreshStatus
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Registering Webhook Event Handler
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 is not listening webhook.
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Registering Platform BLE Event Handler
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 registerPlatformBLE
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Config: {"logging":"debug","scanDuration":1,"connectionType":"OpenAPI","mqttURL":"mqtt://localhost","mqttPubOptions":"{\"retain\": true}","activate_latchbutton":false,"mode":"only_up"}
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Firmware Version: 3.8.1
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 is listening to Platform BLE.
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 version: 3.8.1
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 bleMac: xx:xx:xx:xx:xx:xx
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 received BLE: {"model":"T","modelName":"WoSensorTH","modelFriendlyName":"Meter","temperature":{"c":28.1,"f":82.6},"celsius":28.1,"fahrenheit":82.6,"fahrenheit_mode":false,"humidity":68,"battery":100}
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BLEparseStatus
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 (scale, temperature, humidity) = BLE:(82.6, undefined, 68), current:(28.1, 68)
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity: 68%
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined°c
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 68/CurrentRelativeHumidity options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentRelativeHumidity: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context before: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context after: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 100/BatteryLevel options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context before: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context after: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 0/StatusLowBattery options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context before: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context after: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"xxxxxxxxxx","deviceType":"Meter","hubDeviceId":"xxxxxxxxxx","humidity":69,"temperature":28.1,"version":"V2.6","battery":100},"message":"success"}
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"xxxxxxxxxx","deviceType":"Meter","hubDeviceId":"xxxxxxxxxx","humidity":69,"temperature":28.1,"version":"V2.6","battery":100},"message":"success"}
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 openAPIparseStatus
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 (battery, temperature, humidity) = OpenAPI:(100, 28.1, 69), current:(100, undefined, 68)
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity: 69%
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: 28.1°c
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 Firmware Version: 2.6
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 version: 2.6
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 69/CurrentRelativeHumidity options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentRelativeHumidity: 69
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context before: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context after: 69
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 28.1/CurrentTemperature options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentTemperature: 28.1
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature context before: 28.1
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature context after: 28.1
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 100/BatteryLevel options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context before: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context after: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 0/StatusLowBattery options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context before: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context after: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 received BLE: {"model":"T","modelName":"WoSensorTH","modelFriendlyName":"Meter","temperature":{"c":28.1,"f":82.6},"celsius":28.1,"fahrenheit":82.6,"fahrenheit_mode":false,"humidity":68,"battery":100}
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BLEparseStatus
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 (scale, temperature, humidity) = BLE:(82.6, undefined, 68), current:(28.1, 69)
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity: 68%
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined°c
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 68/CurrentRelativeHumidity options:"{\"retain\": true}"
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentRelativeHumidity: 68
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 100/BatteryLevel options:"{\"retain\": true}"
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context before: 69
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context after: 68
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic BatteryLevel: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context before: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context after: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 0/StatusLowBattery options:"{\"retain\": true}"
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic StatusLowBattery: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context before: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context after: 0



V3.5.0 log 
[2024/9/15 15:36:49] Homebridge v1.8.4 (HAP v0.12.2) (Homebridge 682E) is running on port 51765.
[2024/9/15 15:36:49] 

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

[2024/9/15 15:36:49] [SwitchBot] Webhook is configured to be received through mqtt://localhost/homebridge-switchbot/webhook.
[2024/9/15 15:36:50] [SwitchBot] Restoring existing accessory from cache: meter1 deviceId: xxxxxxxxxx
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Device Config Logging: debug
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Platform Config refreshRate: 300, Default updateRate: 5, Platform Config pushRate: 0.1
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Default Max Retries: 5, Default Delay Between Retries: 3000
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Model: SwitchBot MeterTH S1, BLE Model: T, BLE Model Name: WoSensorTH, BLE Model Friendly Name: undefined
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Using Device Config MQTT URL: mqtt://localhost, Default mqttOptions: {}, Device Config mqttPubOptions: "{\"retain\": true}"
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Retrieve initial values and update Homekit
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 openAPIRefreshStatus
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Registering Webhook Event Handler
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 is not listening webhook.
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Registering Platform BLE Event Handler
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 registerPlatformBLE
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Config: {"logging":"debug","scanDuration":1,"connectionType":"OpenAPI","mqttURL":"mqtt://localhost","mqttPubOptions":"{\"retain\": true}","activate_latchbutton":false,"mode":"only_up"}
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 Firmware Version: 3.8.1
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 is listening to Platform BLE.
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 version: 3.8.1
[2024/9/15 15:36:50] [SwitchBot] [DEBUG] Meter: meter1 bleMac: f1:bc:08:4b:ad:dd
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 received BLE: {"model":"T","modelName":"WoSensorTH","modelFriendlyName":"Meter","temperature":{"c":28.1,"f":82.6},"celsius":28.1,"fahrenheit":82.6,"fahrenheit_mode":false,"humidity":68,"battery":100}
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BLEparseStatus
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 (scale, temperature, humidity) = BLE:(82.6, undefined, 68), current:(28.1, 68)
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity: 68%
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined°c
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 68/CurrentRelativeHumidity options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentRelativeHumidity: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context before: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context after: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 100/BatteryLevel options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context before: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context after: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 0/StatusLowBattery options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context before: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context after: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"xxxxxxxxxx","deviceType":"Meter","hubDeviceId":"xxxxxxxxxx","humidity":69,"temperature":28.1,"version":"V2.6","battery":100},"message":"success"}
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"xxxxxxxxxx","deviceType":"Meter","hubDeviceId":"xxxxxxxxxx","humidity":69,"temperature":28.1,"version":"V2.6","battery":100},"message":"success"}
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 openAPIparseStatus
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 (battery, temperature, humidity) = OpenAPI:(100, 28.1, 69), current:(100, undefined, 68)
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity: 69%
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: 28.1°c
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 Firmware Version: 2.6
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 version: 2.6
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 69/CurrentRelativeHumidity options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentRelativeHumidity: 69
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context before: 68
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context after: 69
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 28.1/CurrentTemperature options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentTemperature: 28.1
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature context before: 28.1
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature context after: 28.1
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 100/BatteryLevel options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic BatteryLevel: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context before: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context after: 100
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 0/StatusLowBattery options:"{\"retain\": true}"
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic StatusLowBattery: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context before: 0
[2024/9/15 15:36:51] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context after: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 received BLE: {"model":"T","modelName":"WoSensorTH","modelFriendlyName":"Meter","temperature":{"c":28.1,"f":82.6},"celsius":28.1,"fahrenheit":82.6,"fahrenheit_mode":false,"humidity":68,"battery":100}
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BLEparseStatus
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 (scale, temperature, humidity) = BLE:(82.6, undefined, 68), current:(28.1, 69)
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity: 68%
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined°c
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 68/CurrentRelativeHumidity options:"{\"retain\": true}"
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic CurrentRelativeHumidity: 68
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentTemperature: undefined
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 100/BatteryLevel options:"{\"retain\": true}"
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context before: 69
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 CurrentRelativeHumidity context after: 68
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic BatteryLevel: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context before: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 BatteryLevel context after: 100
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 MQTT message: 0/StatusLowBattery options:"{\"retain\": true}"
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 updateCharacteristic StatusLowBattery: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context before: 0
[2024/9/15 15:36:55] [SwitchBot] [DEBUG] Meter: meter1 StatusLowBattery context after: 0
```


### Config for homebridge-switchbot

```shell
"platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": "",
                "secret": "",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "xxxxxxxxxx",
                        "configDeviceName": "meter1",
                        "configDeviceType": "Meter",
                        "connectionType": "OpenAPI",
                        "webhook": false,
                        "scanDuration": 1,
                        "lock": {
                            "activate_latchbutton": false
                        },
                        "mqttURL": "mqtt://localhost",
                        "mqttPubOptions": "{\"retain\": true}",
                        "logging": "debug"
                    }
                ],
                "BLE": true,
                "mqttURL": "mqtt://localhost",
                "mqttPubOptions": "{\"retain\": true}",
                "refreshRate": 300
            },
            "platform": "SwitchBot"
        }
    ]
```


### Screenshots

_No response_

### Device and Model

-

### Node.js Version

20.17.0

### NPM Version

10.8.2

### Homebridge Version

1.8.4

### Homebridge Switchbot Plugin Version

v3.6.0 or later

### Homebridge Config UI X Plugin Version

v4.57.1

### Operating System

Raspbian