Skip to content

Commit

Permalink
Update HueDiscovery.js
Browse files Browse the repository at this point in the history
Don't check for `modelid` in authenticated GET `/config` response, see #909.
  • Loading branch information
ebaauw committed Jan 23, 2021
1 parent 036222a commit 64ee267
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/HueDiscovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class HueDiscovery extends events.EventEmitter {
body == null || typeof body !== 'object' ||
typeof body.apiversion !== 'string' ||
!/[0-9A-Fa-f]{16}/.test(body.bridgeid) ||
typeof body.modelid !== 'string' ||
typeof body.name !== 'string' ||
typeof body.swversion !== 'string'
) {
Expand Down

0 comments on commit 64ee267

Please sign in to comment.