hubitat icon indicating copy to clipboard operation
hubitat copied to clipboard

Group not updating when off - bug

Open tinypocket opened this issue 1 year ago • 0 comments

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]) } }

tinypocket avatar Jul 07 '23 05:07 tinypocket