plasticrake / homebridge-tplink-smarthome

TP-Link Smarthome Plugin for Homebridge
MIT License
470 stars 69 forks source link

Smart switches (HS200) show up as light and outlet #324

Closed matthewfcarlson closed 10 months ago

matthewfcarlson commented 10 months ago

Is there an existing issue for this?

What happened?

I updated to homebridge-tplink-smarthome v8.0.1 and now accessories show up as an outlet and a light. Toggling the light doesn’t seem to do anything but the switch does. IMG_3443

What, if anything, has recently changed?

Updated Homebridge and homebridge-tplink-smarthome v8.0.1

Version

homebridge-tplink-smarthome v8.0.1

Node Version

18.18.1

Homebridge Version

1.7.0

Which OS/Platform?

Linux

Relevant log output

Not sure it’s relevant

Configuration

{
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": true,
            "switchModels": [
                "HS230",
                "HS200",
                "HS210"
            ],
            "deviceTypes": [
                "plug"
            ],
            "devicesUseDiscoveryPort": false,
            "platform": "TplinkSmarthome"
        },
matthewfcarlson commented 10 months ago

Didn't look hard enough for duplicates. https://github.com/plasticrake/homebridge-tplink-smarthome/issues/322