Call Flow Plugin: Switch won't set state when Time Condition changes by the clock
Using the Call Flow plugin with FreePBX, the switch's state sets correctly when the time condition is overridden (such as when dialing the feature code from another phone), but not when the clock rolls over and the time condition changes itself.
Looking at a debug trace of fop2, it seems that the position of the switch is set by the condition of the /TC/1 (or whatever number) entry in the asterisk database. However, that database entry is set only when the time condition is manually overridden.
It seems like the device state "CUSTOM:TC1" (or whatever number) might be a better indicator of where the switch is supposed to be, as it seems to be set accurately whether the time condition is manually overridden or switched manually.