senorshaun / homebridge-radiora2

Lutron RadioRA2 plugin for homebridge
MIT License
10 stars 5 forks source link

Autofind devices results in a JavaScript error #42

Closed nshanny closed 9 months ago

nshanny commented 9 months ago

Trying to use "Discover All Devices" results in nothing being returned and an infinite spinner. Upon further inspection, the index.html is looking for "if (data.windowcoverings.length > 0 ) {", but the list is never set in server.js resulting in a type exception. Adding windowcoverings: this.windowcoverings as part of the return statement fixes the problem.

senorshaun commented 9 months ago

thanks for that 1.7.5 is live and includes that fix