Hi
Its the same situation on LED like with Max7219 Displays.....
Basicly you must know... WHAT does your Aircraft support on the Offsets..... Does it show the Status of the virtual LED ... OR... Does it show the status of the function ?
Simple example.... On PMDG the value of the ALT Display is 1000 .... Whatever the Master Battery is ON or OFF.... So if Battery is OFF and the Display in virtual Cockpit is Off, too.... The Value of the Offset is STILL 1000 !!!
Same is in PMDG for the LED..... The Flightdirector LED show if its ON..... If you Disable the Master Battery then the FD is still on in the internal System and the Value is still "1"
Simmular problem you got with the LIGHTTEST Function..... Here its reversed....
If you push the LightTest Button then all "virtual" LED light up.... But the Offsets not change..... If LED is normaly OFF then Value is still "0" Whatever it light at the moment in case of the test!
So Question: What Aircraft do you use.... And how does it support this on the Offsets ??
****
Solution:
You need TWO Configs for EVERY Output ( To realise the "OFF in case of Battery " situation) ... OR You need THREE Configs each to additional simulate the Light Test Part.
Example:
Config 1 Read the real Offset Value .... precondition A) Only work if Battery = 1 AND precondition

Only work if Lighttest = 0
Config 2 is ZERO All time ( Compare If 1 then 0 else 0 ) ... Precondition Only Work if Battery = 0
Config 3 is 1All time (Compare If 0 then 1 else 1 ) .... Precondition A) Only work if Battery = 1 AND Precondition

Only work if Lighttest = 1
Now C1 controll normal Mode.... C2 Blank if Battery is off.... and C3 Light up if Lighttest is Active ( And Battery is On same time)
EDIT:
A disablewith PRecondition ( and without a second config) is not possible.... if you just disable the Config then the LED stay in the last status ..... You MUST have a second config that tell the LED it should get Off !
****
Alternate:
You can use a Relais to cut the GRD Line from Board to the Hole LED . Get shure no switch is on the same GRD !!
***
Last note.... In the future we think about a new precondition System that make this much more easy.... But this is in early Beta status and take some time !