peter-murray / node-hue-api

Node.js Library for interacting with the Philips Hue Bridge and Lights
Apache License 2.0
1.18k stars 144 forks source link

bridge-validation.ts is missing bridgeid #231

Open tiptronic opened 11 months ago

tiptronic commented 11 months ago

I think adding the bridgeid to bridge-validation.ts (line 51) would be very helpful.

result.bridgeid = res.data.bridgeid;

This is especially true, if the bridge was renamed and/or moved to another IP-address.

https://github.com/peter-murray/node-hue-api/blob/typescript/src/api/discovery/bridge-validation.ts