Hah, just found this thread googling for "L:var_GeneratorSwitch" because I'm having the same problem with a stream deck profile using Pilotsdeck. Everything works fine except the in-game switch animation. It's nice to know I'm not alone!
My suspicion is the L:var_GeneratorSwitch only affects the generator switch inside the brain of the machine, and not the switch itself:
[image: 16e5e7c8-bc0f-430c-9e13-f22c925dbfdc.png]
That switch there animates perfectly when I set L:var_GeneratorSwitch between 1, 0 and 2. Which means the reset and trip (and On) modes all work as they should. Just that this guy never budges:
[image: 3f4a3650-11c7-4a3e-9672-0ebec0fe1926.png]
That said, the Behaviours tool shows references to L:var_GeneratorSwitch, so I'm just very confused and I'm hoping it's an animation bug rather than me doing something derpy.
@Black-Square, any idea what we're missing when it comes to the generator switch animation?
There are these standard vars:
[image: e17b1fc3-c181-4090-9859-7ae5f1c3e494.png]
But they don't seem to ever move from 0, so I guess are unused here..
By the by, I saw another interesting thing I saw while testing things: (A:ELECTRICAL GENALT BUS AMPS:1, Amperes) returns 14.2 Amps with gernerator OFF after resetting the generator. Both the multimeter in game and the "GEN" section of the Elec map on the EFB shows 0A as you'd expect (as the generator was completely off, the only power was battery power), but that Avar is active and happy.