Added a lightStatusParser to record light events