Added sensor state and time out when a sensor has not updated in 5 seconds