Accessing O: Vars through SimConnect doesn't always work

Version: 1.7.27.0

Frequency: Consistently

Severity: Low

Context: Reading/Writing O: variables

Bug description:

Accessing O: variables is only working for some of them.

Repro steps:

This is working fine for example for the default C208:
(O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:SwitchState, Number)

But this is not working for the BKSQ Caravan
(O:ELECTRICAL_PANEL:ELECTRICAL_SWITCH_ALTERNATOR_1:SwitchState, Number)

I tried hard but can’t find where this is documented - I’d expect something as core as a variable type would be documented somewhere as:

O: variables :
RPN: … (found this: Used for variables within components, where the variable scope is the component itself.)
Javascript: ..
External Simconnnect: …
WASM Simconnect …
Typescript ..
RPN …
Template language …

but I can’t find other mention of it in the SDK docs and “O” is a tricky search term. I’m assuming outside of the model XML/RPN there has to be a reference to the model XML component id that contains the O simvar but that immediately suggests complexity with the use in a template that could be in any component.

It is in the SimConnect API Spec:

SimConnect_AddToDataDefinition

At the bottom of the page are the descriptions of how to handle the various variable types.