Samfox2 / homebridge-domotiga

Supports domotiga devices on HomeBridge Platform
Apache License 2.0
6 stars 3 forks source link

Number of mapped devices : undefined #15

Closed nordblick2 closed 7 years ago

nordblick2 commented 7 years ago

The message will print out on right after start. I guess, it should not be "undefined", but i was not able to track that down to the underlying reason (i need some more time with 2.0 code ;))

Message comes from line 192 - could be more or less (due to some local changes on my side)

Samfox2 commented 7 years ago

It tells you that no accessories are configured. You could add an additionel check like if (nod) {………} I thought this wouldn't be neccessary as there should allways at least 1 defined.