johnlemonse / homebridge-telldus

36 stars 22 forks source link

Self-learning switch shows up as light bulb. #66

Closed linusnyren closed 6 years ago

linusnyren commented 6 years ago

Hi! i´m trying to configure my telldus plugin in my config.json to correctly indentify my switches. The homebridge log shows that the switch is registered as an "selflearning-switch" but in the home app it shows up as a bulb.

This makes it quite annoying since the command "turn off lights in living room" also causes the tv switch to turn off.

Is there a solution to this minor problem? Do i need to remove the homebridge hub from homekit and re-add it again? cheers!

i´ve added the following: "unknown_accessories": [ { "id": 1808326, "model": "selflearning-switch", "manufacturer": "Nexa" } ]

linusnyren commented 6 years ago

Solved it. to make it look like an switch instead of lightbulb use this instead; "unknown_accessories": [ { "id": 1808326, "model": "switch", "manufacturer": "Nexa" } ]