0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.
MIT License
206 stars 58 forks source link

Wifi Switch (multi-gang) does not show correct configured names for each switch #475

Open jgildred opened 1 week ago

jgildred commented 1 week ago

Prerequisite

Cache

Version

v1.7.0-beta.53

Device Infomation JSON File

{
    "name": "Tuya",
    "options": {
        "projectType": "2",
        "accessId": "[removed]",
        "accessKey": "[removed]",
        "countryCode": 1,
        "username": "[removed]",
        "password": "[removed]",
        "appSchema": "tuyaSmart",
        "debug": false
    },
    "platform": "TuyaPlatform"
}

Device Control Mode

None

Logs

no error reported

Other Infomations

I expect the actual configured name of each switch in the multi-gang switch device to show correctly instead of the default "switch_#" name.

for example a 3-gang switch will show 3 devices "switch_1", "switch_2" and "switch_3" (default names) even as these devices in the Tuya app have configured names like "Overhead light" etc. The tested devices are multi-gang MoesGo Wifi light switches.