Check the addon's readme... there should be the name of the animation for the lever. In that case, just check the animation phase of that anim. Ugh, I'm tired now, but check the online com ref for the "animation phase" command, you'll get some examples.