I'm not sure, as I've never made an addon before, but I think you can probably set that in the addon's config.cpp. You could say, for instance, that when it's safe, the light is green and when it's aware it's red, or something of that nature (if you could go safe=off, aware=green, combat=red, that would be nice, in my opinion). Failing that, I'm sure you could add it as an action (like the BAS units' goggles), then it could be controlled seperately from behavior.
Like I said though, I've never made any addons, but if these work, I think they would do well.