Add None checks for sensor readings