Broken Light Designer Script (I think from at least v2.1 to current) _trigger_universe_active

I am getting an error in all versions of Light Designer is I try to stick in a macro trigger:When Universe Changes State...

[19 May 2021 20:40:34 Eastern Daylight Time] Failed to execute script _trigger_universe_active [Tried to set incompatible data type for persistent 1]

My quick fix is to modify _trigger_universe_active.lua changing:

 if status ~= act then
      active:set(status)  <--- this is throwing the error
      if status == true then
        action_on:remote()
      else
        action_off:remote()
      end
    end

to:

 if status ~= act then
      if status == true then
        active:set(true)
        action_on:remote()
      else
        active:set(false)
        action_off:remote()
      end
    end

Parents Reply Children
No Data
Related