SphtKr / homebridge-zway

Homebridge plugin for (better) HomeKit support of RaZBerry and Z-Way Server
ISC License
85 stars 38 forks source link

Fixes hang on start with duplicate names #120

Open mathiasnagler opened 6 years ago

mathiasnagler commented 6 years ago

In the current version homebridge hangs on startup if there are multiple devices that use the same name. This is a common setup. I named all my Fibaro Dimmers Light for example, because they are in different rooms so I can still know them apart.

This PR fixes the issue by adding the id to the name: <Name> (<id>).