Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
200 stars 67 forks source link

Update api.js #381

Closed Travelbacon closed 1 year ago

Travelbacon commented 2 years ago

Edit check for undefined for the "private groups."

See #377 and #378

It seems that the new private_groups have no members in the "owner". I don't know why this is. And I am not sure if this is a proper JavaScript patch, because I am a starter with JavaScript.

de-wax commented 2 years ago

Works for me. Thank you!

Travelbacon commented 2 years ago

It seems that in groups a small error occured because the status of on was no longer in the service object. I made a small workaround by defining the status of a light earlier.

Morl99 commented 1 year ago

This makes huemagic usable again, thanks a lot.