DA40-NG Systems.cfg and cockpit.xml lighting code question

A question for your aircraft developer(s) The DA40-NG has lighting in the
systems.cfg that use potentiometerindex = 8 - CabinBounce and
potentiometerindex = 5 - Glareshield (times 3) The cockpit.xml has the
following code

(A:LIGHT CABIN ON:1, Percent)
(A:LIGHT CABIN ON:2, Percent) +
(A:LIGHT CABIN ON:3, Percent) +
3 /

8
1



(A:LIGHT POTENTIOMETER:8, Percent)
(A:LIGHT POTENTIOMETER:5, Percent)  +
2 /
(A:LIGHT CABIN ON:0, Bool) (A:LIGHT GLARESHIELD ON:0, Bool) or *

11
2


Instruments02

the first Component uses the cabin lights percent to derive the
BOUNCE_POTENTIOMETER_PERCENT for pot 8

That is used in the ASOBO template code



#BOUNCE_POTENTIOMETER_PERCENT# #FAILURE# * (>O:_Bounce)
(O:_Bounce) (A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent) != if{
(O:_Bounce) #POTENTIOMETER# (>K:2:LIGHT_POTENTIOMETER_SET)
}

This code I can see. However the second component set the
BOUNCE_POTENTIOMETER_PERCENT via pots 8 and 5, ok fine, but is setting Pot
11. There is no potentiometerindex 11 in the [LIGHTS] section of the DA40-NG
systems.cfg. Is 11 a typo? Is there a missing light in the lights section, is
there a typo in the lights section where the
LIGHT_ASOBO_CockpitMinimalAmbiantLow should have pot index 11? EDIT: or is
this code a copy past error, where is should not even be in the file. AS LIGHT
CABIN ON:0 is non existent along with glareshiled:0 and the value becomes zero
anyway.

Hello @DA40CGDFQ It was, indeed, a copy/past error, thank you for bringing
this up it will be corrected in a future update. Best Regards, Yohan