Dimmer switch failed to turn off
### Is there an existing issue for this?

- [X] I have searched the existing issues

### What happened?

After updating to version 8.0.0, all dimmer failed to turn the light off.
Exception as follow:
Unhandled error thrown inside write handler for characteristic: err_code not zero response: {"err_code":-3,"err_msg":"invalid argument"} command: {"smartlife.iot.dimmer":{"set_brightness":{"brightness":0}}}

Dimmer can be turned off normally via Kasa or GH. 

### What, if anything, has recently changed?

Upgraded to version 8.0.0

### Version

8.0.0

### Node Version

16.20.2

### Homebridge Version

1.6.0

### Which OS/Platform?

macOS

### Relevant log output

```shell
Unhandled error thrown inside write handler for characteristic: err_code not zero response: {"err_code":-3,"err_msg":"invalid argument"} command: {"smartlife.iot.dimmer":{"set_brightness":{"brightness":0}}}
```


### Configuration

```json
{
    "platform": "TplinkSmarthome",
    "name": "TplinkSmarthome",
    "deviceTypes": [
        "plug"
    ]
}
```
