Add back INLIGHT and fix casting of sensors to allow for comparison.

INLIGHT is rather useful and i noticed the casting issue.