apwelsh / hubitat

MIT License
26 stars 12 forks source link

Group not updating when off - bug #28

Open tinypocket opened 1 year ago

tinypocket commented 1 year ago

Group was not updating when off. I traced it to these two lines 1634, 1635 in the Advanced Hub Bridge Integration app code, which evaluate to false when the group is off so the properties are never set. Changed the condition to "!= null" to fix. if (devstate) { if (devstate['any_on']) { child.setHueProperty([name: 'any_on', value: devstate.any_on]) } if (devstate['all_on']) { child.setHueProperty([name: 'all_on', value: devstate.all_on]) } }