PreArm LUA

Hi,
I’m after some additional intel on how to proceed on an implementation I’m planning relating to the preArm authorisation capabilities exposed in LUA.

I understand that having acquired the AuthID token, you essentially return “true” or “false” to allow or deny arming.

LUA scripts run periodically (not sure how fast I need to set that either - but its a minor point) and as such my script (which will be looking at an AUX line to decide on the result) may return “false” during flight. If the external hardware changes the state of the AUX line. I was wondering if that might be a bad thing!!

Another way of phrasing the question is, “does the result of the preArm authorisation only have any effect whilst disarmed”??

Sorry if this is covered somewhere, but I’ve not found it yet during my searches.

I guess the same worry relates to the example batt_temp
What happens if the battery temp > max during flight?