TP-Link Kasa Smart Dimmer Switch HS220 Error
### Is there an existing issue for this?

- [X] I have searched the existing issues

### What happened?

I am getting an error for TP-Link  Kasa Smart Dimmer Switch HS220an 

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

I am using home bridge first time

### Version

homebridge-tplink-smarthome v7.0.1

### Node Version

v18.16.0

### Homebridge Version

v1.6.1

### Which OS/Platform?

Linux

### Relevant log output

```shell
[8/1/2023, 8:52:35 AM] [TPlink-Smarthome] [Living Two] set [Brightness]
[8/1/2023, 8:52:35 AM] [TPlink-Smarthome] [Living Two] ResponseError: err_code not zero response: {"err_code":-3,"err_msg":"invalid argument"} command: {"smartlife.iot.dimmer":{"set_brightness":{"brightness":0}}}
```


### Configuration

```json
{
            "name": "TPlink-Smarthome",
            "addCustomCharacteristics": true,
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "platform": "TplinkSmarthome",
            "_bridge": {
                "username": "0E:51:E2:F5:12:D1",
                "port": 49593
            }
        },
```
