circuit_condition :: Read|Write CircuitConditionDefinition
The circuit condition. Writing nil clears the circuit condition.
However, the debugger says something else:
So the value of the "circuit_condition" field is not a CircuitConditionDefinition but a CircuitCondition. And lo and behold, doing this:
works fine in spite of the angry yellow lines in VSCode (and using a CircuitConditionDefinition does not).
This may apply to everything that extends LuaGenericOnOffControlBehavior