Python Ls Current Direction Diode