joeyhage / homebridge-alexa-smarthome

Connect Alexa devices to HomeKit
MIT License
62 stars 20 forks source link

Similarly named devices won't add to HK #111

Open rhy5davie5 opened 4 months ago

rhy5davie5 commented 4 months ago

Describe The Bug: I have 2 devices in Alexa, one is named Laptop Charger, one is called Rocket Charger, both are TP Link Kasa HS100 smart plugs. If I add 'Laptop Charger', it won't add 'Rocket Charger'. If I rename 'Rocket Charger' to 'Rocket Charge' in Alexa, it recognises and adds OK.

To Reproduce: Add 2 devices with the same last name??

Expected behavior:

Logs: No log to show

Plugin Config: { "devices": [ "Hallway Lamp", "Rocket Charge", "Laptop Charger",

Screenshots:

Environment:

rhy5davie5 commented 4 months ago

Also, I have 2 devices in Alexa called 'Garage Heat 1' and 'Garage Heat 2', which are also TP Link Kasa HS100 Plugs. The plugin recognised and added them into HK successfully but one is programmed as a power socket, the other one as a 'switch'